update cmake option

gregory38 2014-12-21 02:55:05 -08:00
parent 4d4d66244b
commit 596c5c2a4b
1 changed files with 23 additions and 8 deletions

@ -52,24 +52,39 @@ Basic parameters:
- `Release`: Best in speed, but provides little or no debug/crash info.
- `Devel`: Adds detailed trace logging abilities, but still lacks debug/crash info.
- `Debug`: No compiler optimizations. Very good for debug/crash info but also very slooowww.
- Enable/disable the stipping : `-DCMAKE_BUILD_STRIP=TRUE|FALSE`
- `TRUE`: Remove debugging information.
- `FALSE`: Keep symbols. Better for debug. (recommended since it should not have any impact on speed)
- Follow XDG standard : `-DXDG_STD=TRUE`
- Build all plugins: `-DEXTRA_PLUGINS=TRUE`
Expert parameters (not supported, the best is to use the default options):
- Tune C flags : `-DUSER_CMAKE_C_FLAGS:STRING="cflags"`
- Tune C++ flags : `-DUSER_CMAKE_CXX_FLAGS:STRING="cxxflags"`
- Tune linker flags : `-DUSER_CMAKE_LD_FLAGS:STRING="ldflags"`
- Use GLSL (experimental) for shading instead of nvidia cg (zzogl only) : `-DGLSL_API=TRUE`
- Use EGL (experimental) to replace GLX (zzogl only) : `-DEGL_API=TRUE`
- Update po (translation file) : `-DCMAKE_BUILD_PO=TRUE`
- Follow XDG standard : `-DXDG_STD=TRUE`
Expert debugging parameters (typical developper only option):
- Build GS replayer: `-DBUILD_REPLAY_LOADERS=TRUE`
- Use Address Sanitizer: `-DUSE_ASAN=TRUE`
- Force wxWidget 2.8 (to spot a regression) : `-DWX28_API=TRUE`
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 EGL instead of GLX : `-DEGL_API=TRUE`
- GSdx: Use openGL ES3.1 instead of pure openGL : `-DGLES_API=TRUE`
- Use SDL2 (wxWidget must be linked with SDL1) : `-DSL2_API=TRUE`
- Use GTK3 (wxWidget must be built with GTK3 support) : `-DGTK3_API=TRUE`
- Use clang (nothing work) : `-DUSE_CLANG=TRUE`
- 64 bits support (nothing work): `-D64BIT_BUILD_DONT_WORK=TRUE`
Expert options for package creation
- Enable package mode : `-DPACKAGE_MODE=TRUE`
- Enable package mode : follow the FHS for distribution `-DPACKAGE_MODE=TRUE`
- Plugin install path in package mode : `-DPLUGIN_DIR="/usr/lib/pcsx2"`
- GameDB install path in package mode : `-DGAMEINDEX_DIR="/usr/share/games/pcsx2"`
- GLSL shader install directory : `-DGLSL_SHADER_DIR="/usr/share/games/pcsx2"`
- Update po (translation file) : `-DCMAKE_BUILD_PO=TRUE`
- Rebuild shader : `-DREBUILD_SHADER=TRUE`
- Disable AVX: `-DDISABLE_ADVANCE_SIMD=TRUE`
- Enable/disable the stipping : `-DCMAKE_BUILD_STRIP=TRUE|FALSE`
- `TRUE`: Remove debugging information.
- `FALSE`: Keep symbols. Better for debug. (recommended since it should not have any impact on speed)
### Running CMake to generate the makefile: