This is a CMake configuration to build software used to edit, build and package assets for Dæmon based games like Unvanquished.
It installs NetRadiant, Chameleon, Urcheon, Q3map2, IQM and Crunch tools in an install subdirectory.
If not provided by the system, it will also build and install cwebp, opusenc, oggenc and flac tools.
You may need other dependencies, like GtkGlExt for NetRadiant and other libraries (read more about it), Python modules for Urcheon (read more about it), PyQt5 for Chameleon, and others.
cmake -H. -Bbuild
cmake --build build -- -j$(nproc)Add install/bin to your environment path, use the various tools at your confidence.
export PATH="${PATH}:$(pwd)/install/bin'netradiantBy default the common cwebp, opusenc, oggenc and flac tools are not built if system provides them. You can force building everything (ignoring detection for existing tools) this way:
cmake -H. -Bbuild -DBUILD_ALL=ON
cmake --build build -- -j$(nproc)You may need the libtool utility to properly build tools like flac, the libtoolize tool is not enough, libtool may be found in a package named like libtool-bin.
This CMake configuration is distributed under CC0 1.0 license.