[submodule "libs/crunch"]
path = libs/crunch
url = https://github.com/DaemonEngine/crunch.git
-[submodule "tools/unvanquished/daemonmap"]
- path = tools/unvanquished/daemonmap
- url = https://github.com/DaemonEngine/daemonmap.git
set(DEFAULT_BUILD_CRUNCH OFF CACHE INTERNAL "...")
endif ()
-if (EXISTS "${PROJECT_SOURCE_DIR}/tools/unvanquished/daemonmap/tools/quake3/q3map2/main.c")
- set(DEFAULT_BUILD_DAEMONMAP ON CACHE INTERNAL "...")
-else ()
- set(DEFAULT_BUILD_DAEMONMAP OFF CACHE INTERNAL "...")
-endif ()
-
#-----------------------------------------------------------------------
# Build options
#-----------------------------------------------------------------------
option(BUILD_RADIANT "Build the GUI" ON)
option(BUILD_TOOLS "Build the tools" ON)
option(BUILD_CRUNCH "Build Crunch image support" ${DEFAULT_BUILD_CRUNCH})
-option(BUILD_DAEMONMAP "Build daemonmap navigation mesh generator" ${DEFAULT_BUILD_DAEMONMAP})
option(DOWNLOAD_GAMEPACKS "Download game packs" ON)
option(USE_WERROR "Build with -Werror -pedantic-errors" OFF)
option(FHS_INSTALL "Install according to Filesystem Hierarchy Standard" OFF)
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.
done
declare -a fetch_submodules_cmd
-for submodule_file in 'libs/crunch/inc/crn_decomp.h' \
- 'tools/unvanquished/daemonmap/tools/quake3/q3map2/main.c'
+for submodule_file in 'libs/crunch/inc/crn_decomp.h'
do
if ! [ -f "${project_source_dir}/${submodule_file}" ]
then
"-DDOWNLOAD_GAMEPACKS=OFF"
"-DBUNDLE_LIBRARIES=OFF"
"-DBUILD_CRUNCH=OFF"
- "-DBUILD_DAEMONMAP=OFF"
"-DBUILD_RADIANT=OFF"
"-DBUILD_TOOLS=ON"
"-DFHS_INSTALL=ON"
add_custom_target(tools)
add_dependencies(tools quake2 heretic2 quake3)
-
-add_subdirectory(unvanquished)
+++ /dev/null
-if (BUILD_DAEMONMAP)
- # Always keep daemonmap libs/
- # up-to-date with NetRadiant libs/
- include_directories(daemonmap/libs)
- include_directories(daemonmap/tools)
-
- add_subdirectory(daemonmap/libs)
- add_subdirectory(daemonmap/tools)
-endif()
+++ /dev/null
-Subproject commit f063894efd86504c9d9fa3e248ee1c95395f7951