PCSX2 Documentation/PCSX2 Build Scripts: Difference between revisions

Jump to navigation Jump to search
Line 38: Line 38:


Expert options for package creation
Expert options for package creation
*Enable package mode : follow the FHS for distribution `-DPACKAGE_MODE=TRUE`
*Enable package mode : follow the FHS for distribution <code>-DPACKAGE_MODE=TRUE</code>
*Plugin install path in package mode : `-DPLUGIN_DIR="/usr/lib/pcsx2"`
*Plugin install path in package mode : <code>-DPLUGIN_DIR="/usr/lib/pcsx2"</code>
*GameDB install path in package mode : `-DGAMEINDEX_DIR="/usr/share/games/pcsx2"`
*GameDB install path in package mode : <code>-DGAMEINDEX_DIR="/usr/share/games/pcsx2"</code>
*GLSL shader install directory : `-DGLSL_SHADER_DIR="/usr/share/games/pcsx2"`
*GLSL shader install directory : <code>-DGLSL_SHADER_DIR="/usr/share/games/pcsx2"</code>
*Update po (translation file) : `-DCMAKE_BUILD_PO=TRUE`
*Update po (translation file) : <code>-DCMAKE_BUILD_PO=TRUE</code>
*Rebuild shader : `-DREBUILD_SHADER=TRUE`
*Rebuild shader : <code>-DREBUILD_SHADER=TRUE</code>
*Disable AVX: `-DDISABLE_ADVANCE_SIMD=TRUE`
*Disable AVX: <code>-DDISABLE_ADVANCE_SIMD=TRUE</code>
*Enable/disable the stipping : `-DCMAKE_BUILD_STRIP=TRUE|FALSE`
*Enable/disable the stipping : <code>-DCMAKE_BUILD_STRIP=TRUE|FALSE</code>
**`TRUE`: Remove debugging information.
**<code>TRUE</code>: Remove debugging information.
**`FALSE`: Keep symbols. Better for debug. (recommended since it should not have any impact on speed)
**<code>FALSE</code>: 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:==
ninja
782

edits

Navigation menu