forked from SwagSoftware/Kisak-Strike
-
Notifications
You must be signed in to change notification settings - Fork 2
CMake Options
Stuart edited this page Feb 16, 2025
·
38 revisions
You will want to do your builds in the cmake-build
folder.
Specify various options with the -D flag (example below)
cmake .. -DOPTION1=0 -DOPTION2=1
See this file for up-to-date options choices - (in case the wiki is not updated).
Options / Flags | Description |
---|---|
-DUSE_IPHYS=1 | Use the open source Physics rebuild. |
-DUSE_BULLET_PHYSICS=1 | Use Open Source Bullet3 Physics Engine(zlib) |
-DBULLET_PHYSICS_THREADED=1 | Use Multi-Threading for the Bullet Physics Engine. Use convar 'bt_threadcount' to set. |
No Physics Options will use the original Closed-Source vphysics.
Options / Flags | Description |
---|---|
-DUSE_ROCKETUI=1 | Use Custom RocketUI. Without this, the UI will be a broken mess of VGUI. |
No UI Options will leave the game's built-in VGUI UI. Note that it is unfinished and broken!
Options / Flags | Description |
---|---|
-DUSE_VALVE_HRTF=1 | By default the HRTF is disabled because it requires a proprietary blob(libphonon3d.so), set this flag to re-enable it. |
No Audio Options will use Open Source Audio System.
Options / Flags | Description |
---|---|
-DDEDICATED=1 | Change the build to dedicated server mode. Note that the builds are not in-tree compatible, some things will have to be rebuilt. |
After cmake, simply do a make -jXXX
where XXX is the number of threads you wish to build with.