Note: some dependencies of gtk+ seems to only be pulled with gtk+3, gtkglext seems to require libffi.
```sh
-brew install cmake glib libffi gtk+ gtk+3 pkgconfig minizip webp coreutils gnu-sed wget sassc
+brew install cmake glib gobject-introspection libffi gtk+ gtk+3 gtk-doc pkgconfig minizip webp coreutils gnu-sed wget sassc
brew link --force gettext
```
./easy-builder -DBUNDLE_LIBRARIES=ON
```
-Note: always do bundling on a clean system without unrelated software installed.
+Note: Always do bundling on a clean and fresh system without unrelated software installed.
## Advanced compilation
```sh
cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug
cmake --build build -- -j$(nproc)
+cmake --install build
```
```sh
cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build -- -j$(nproc)
+cmake --install build
```
Note: macOS users need to build built-in GtkGLExt before building NetRadiant:
cmake --build build -- -j$(nproc) builtins
cmake -G "Unix Makefiles" -S. -Bbuild
cmake --build build -- -j$(nproc)
+cmake --install build
```
```sh
cmake --build build --target binaries -- -j$(nproc)
+cmake --install build
```
You should still periodically update gamepacks:
```sh
cmake --build build --target gamepacks
+cmake --install build
```
Do not build NetRadiant (default: `ON`, build netradiant graphical editor);
* `BUILD_TOOLS=OFF`
Do not build q3map2 and other tools (default: `ON`, build command line tools);
-* `BUILD_DAEMONMAP=OFF`
- Do not build daemonmap tool (default: `ON` if submodule is there, buils daemonmap navigation mesh generator);
* `BUILD_CRUNCH=OFF`
Disable crunch support (default: `ON` if submodule is there, enable crunch support);
* `RADIANT_ABOUTMSG="Custom build by $(whoami)"`
* `quake3` Compile all the Quake 3 tools:
- `q3map2` Compile the Quake 3 map compiler;
- `q3data` Compile the q3data tool;
- * `unvanquished` Compile all the Unvanquished tools: `daemonmap`, `q3map3`, `q4data`;
- - `daemonmap` Compile the daemonmap navigation mesh generator.
Type `make help` to get an exhaustive list of targets.
* `install` Install files.
+```sh
+cmake --install build
+```
+
## Additonnal information