-
Notifications
You must be signed in to change notification settings - Fork 15
Meson build options
Usage:
meson configure -D[option]=[value]
Options:
-
debug_type
may be any offull,minimal,release
(default: minimal): and sets what debug features are available.-
full
enables all available features (mostly visualizations of lots of things), this slows down the game significantly -
minimal
keeps some useful debug information -
release
disables all debug features
-
-
cccpdatadir
(string) path to the Cortex Command Data repo (default: ../Cortex-Command-Community-Project-Data), only required when installing the game -
data_install_dir
(string) where to install the cccp data relative to the install prefix (default: share/CortexCommand) -
install_fmod
(bool) True or False: if true, the fmod library will be installed to a system directory (not recommended, use system package if available. Absolutely do not use if packaging) -
fmod_dir
(string) where to install the fmod library (default: /opt/CortexCommand/lib), generally not recommended to install into default system library directories.
To massively speed up builds you can install ccache
(install through the distro's package manager). Unless you are setting the compiler explicitly, ccache will then be automatically enabled when creating a new build directory. To leverage the full caching potential create a file called ccache.conf
in ~/.cache/ccache/
with the following contents sloppiness=pch_defines,time_macros,include_file_mtime,include_file_ctime
by:
$ echo sloppiness=pch_defines,time_macros,include_file_mtime,include_file_ctime > .chace/ccache/ccache.conf