From 0024e22b1648f9b0c1affd155bf2cef02da91688 Mon Sep 17 00:00:00 2001 From: David Knapp Date: Sun, 1 Dec 2019 17:02:09 -0500 Subject: [PATCH] Preliminary support for the build.sh script. Added config.cmake --- config.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config.cmake diff --git a/config.cmake b/config.cmake new file mode 100644 index 000000000..3dc6410b1 --- /dev/null +++ b/config.cmake @@ -0,0 +1,13 @@ +set(CMAKE_BUILD_TYPE "Debug") + +set(ENGINE_EXE_NAME "xonotic" CACHE STRING "What do you want to name the engine executable? If unsure, leave this default. Default = horsepower") + +set(ENGINE_VERSION "${HP_REV}" CACHE STRING "Set engine version string. If unsure, leave this blank. Default = SHA of HEAD") + +set(ENGINE_WINRC "" CACHE STRING "Location of Windows resource file. If unsure, leave this blank. Default = ") + +option(ENGINE_CONFIG_MENU "Compile the engine with legacy menu support. Required for Quake and any mods that use the legacy menu. If unsure or you're gonna play Quake or mods built for Quake, turn this on. Default = ON" ON) + +option(ENGINE_CONFIG_CD "Compile the engine with CD audio support. Required if you intend to have in-game music at all, even if you don't use CDs. Default = ON" ON) + +option(ENGINE_NO_BUILD_TIMESTAMPS "Disable build timestamps in the version string. Default = OFF" OFF) -- 2.39.2