]> git.xonotic.org Git - xonotic/darkplaces.git/blob - game/default/dpconfig.cmake
cmake: Initial working implementation of cmake build system
[xonotic/darkplaces.git] / game / default / dpconfig.cmake
1 option(
2 ENGINE_BUILD_CLIENT
3 "Build the client"
4 ON)
5
6 option(
7 ENGINE_BUILD_SERVER
8 "Build the server"
9 ON)
10
11 option_string(
12 ENGINE_BUILD_NAME
13 "Engine binary name"
14 "darkplaces")
15
16 option_string(
17 ENGINE_BUILD_WINRC
18 "Location of Windows .rc, usually for icon"
19 "${GAME_PROJECT_DIR}/res/darkplaces.rc")
20
21 option_string(
22 GAME_BUILD_CUSTOM_COMMAND
23 "Custom tool to bootstrap. Enter what you would with execute_process"
24 "")
25
26 option_string(
27 GAME_BUILD_EXTERNAL_PROJECT
28 "External cmake project to add. Enter what you would with ExternalProject_Add"
29 "")
30
31 option(
32 ENGINE_CONFIG_MENU
33 "Enable menu support"
34 ON)
35
36 option(
37 ENGINE_CONFIG_VIDEO_CAPTURE
38 "Enable video capture support"
39 ON)
40
41 option(
42 ENGINE_CONFIG_BUILD_TIMESTAMP
43 "Add the git commit timestamp to the version string"
44 ON)
45
46 option(
47 ENGINE_CONFIG_BUILD_REVISION
48 "Add the git revision to the version string"
49 ON)