PCSX2 Documentation/PCSX2 Build Scripts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 11: | Line 11: | ||
==Expert mode: CMake build parameters== | ==Expert mode: CMake build parameters== | ||
Basic parameters: | Basic parameters: | ||
*Use Release/Devel/Debug : | *Use Release/Devel/Debug : <code>-DCMAKE_BUILD_TYPE=Release|Devel|Debug</code> | ||
** | **<code>Release</code>: Best in speed, but provides little or no debug/crash info. | ||
** | **<code>Devel</code>: Adds detailed trace logging abilities, but still lacks debug/crash info. | ||
** | **<code>Debug</code>: No compiler optimizations. Very good for debug/crash info but also very slooowww. | ||
*Follow XDG standard : | *Follow XDG standard: <code>-DXDG_STD=TRUE</code> | ||
*Build all plugins: | *Build all plugins: <code>-DEXTRA_PLUGINS=TRUE</code> | ||
Expert parameters (not supported, the best is to use the default options): | Expert parameters (not supported, the best is to use the default options): | ||
Line 47: | Line 47: | ||
*Enable/disable the stipping : `-DCMAKE_BUILD_STRIP=TRUE|FALSE` | *Enable/disable the stipping : `-DCMAKE_BUILD_STRIP=TRUE|FALSE` | ||
**`TRUE`: Remove debugging information. | **`TRUE`: Remove debugging information. | ||
**`FALSE`: Keep symbols. Better for debug. (recommended since it should not have any impact on speed) | **`FALSE`: Keep symbols. Better for debug. (recommended since it should not have any impact on speed) | ||
==Running CMake to generate the makefile:== | ==Running CMake to generate the makefile:== |