PCSX2 Documentation/PCSX2 Build Scripts: Difference between revisions

Jump to navigation Jump to search
Line 19: Line 19:


Expert parameters (not supported, the best is to use the default options):
Expert parameters (not supported, the best is to use the default options):
*Tune C flags : `-DUSER_CMAKE_C_FLAGS:STRING="cflags"`
*Tune C flags : <code>-DUSER_CMAKE_C_FLAGS:STRING="cflags"</code>
*Tune C++ flags : `-DUSER_CMAKE_CXX_FLAGS:STRING="cxxflags"`
*Tune C++ flags : <code>-DUSER_CMAKE_CXX_FLAGS:STRING="cxxflags"</code>
*Tune linker flags : `-DUSER_CMAKE_LD_FLAGS:STRING="ldflags"`
*Tune linker flags : <code>-DUSER_CMAKE_LD_FLAGS:STRING="ldflags"</code>


Expert debugging parameters (typical developper only option):
Expert debugging parameters (typical developper only option):
*Build GS replayer: `-DBUILD_REPLAY_LOADERS=TRUE`
*Build GS replayer: <code>-DBUILD_REPLAY_LOADERS=TRUE</code>
*Use Address Sanitizer: `-DUSE_ASAN=TRUE`
*Use Address Sanitizer: <code>-DUSE_ASAN=TRUE</code>
*Force wxWidget 2.8 (to spot a regression) : `-DWX28_API=TRUE`
*Force wxWidget 2.8 (to spot a regression) : <code>-DWX28_API=TRUE</code>


Experimental parameters (not supported, the best is to use the default options):
Experimental parameters (not supported, the best is to use the default options):
*zzogl: Use GLSL for shading instead of nvidia cg : `-DGLSL_API=TRUE`
*zzogl: Use GLSL for shading instead of nvidia cg : <code>-DGLSL_API=TRUE</code>
*zzogl: Use EGL instead of GLX : `-DEGL_API=TRUE`
*zzogl: Use EGL instead of GLX : <code>-DEGL_API=TRUE</code>
*GSdx: Use openGL ES3.1 instead of pure openGL : `-DGLES_API=TRUE`
*GSdx: Use openGL ES3.1 instead of pure openGL : <code>-DGLES_API=TRUE</code>
*Use SDL2 (wxWidget must be linked with SDL1) : `-DSL2_API=TRUE`
*Use SDL2 (wxWidget must be linked with SDL1) : <code>-DSL2_API=TRUE</code>
*Use GTK3 (wxWidget must be built with GTK3 support) : `-DGTK3_API=TRUE`
*Use GTK3 (wxWidget must be built with GTK3 support) : <code>-DGTK3_API=TRUE</code>
*Use clang (nothing work) : `-DUSE_CLANG=TRUE`
*Use clang (nothing work) : <code>-DUSE_CLANG=TRUE</code>
*64 bits support (nothing work): `-D64BIT_BUILD_DONT_WORK=TRUE`
*64 bits support (nothing work): <code>-D64BIT_BUILD_DONT_WORK=TRUE</code>


Expert options for package creation
Expert options for package creation
ninja
782

edits

Navigation menu