forked from cataclysmbn/Cataclysm-BN
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
90 lines (90 loc) · 2.88 KB
/
CMakePresets.json
File metadata and controls
90 lines (90 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "windows-tiles-sounds-x64-msvc",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Windows Tiles Sounds x64 MSVC",
"description": "Target Windows (64-bit) with the Visual Studio 2022 development environment.",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/${presetName}.cmake",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/build-scripts/MSVC.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"DYNAMIC_LINKING": "False",
"CMAKE_CONFIGURATION_TYPES": "Debug;RelWithDebInfo;Release",
"CURSES": "False",
"LOCALIZE": "True",
"TILES": "True",
"SOUND": "True",
"TESTS": "True",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "linux-tiles-sounds-x64",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Linux Tiles Sounds x64",
"description": "Target Linux (64-bit) with the GCC development environment.",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"DYNAMIC_LINKING": "True",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CURSES": "False",
"LOCALIZE": "True",
"TILES": "True",
"SOUND": "True",
"TESTS": "False",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "linux-full",
"binaryDir": "${sourceDir}/build",
"displayName": "Linux Full Build (Clang, Tiles, Sounds, Tracy)",
"description": "Target Linux with Clang, ccache, and Tracy profiling support",
"generator": "Ninja",
"cacheVariables": {
"CATA_CCACHE": "ON",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_INSTALL_PREFIX": "$env{XDG_DATA_HOME}",
"JSON_FORMAT": "ON",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CURSES": "OFF",
"TILES": "ON",
"SOUND": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CATA_CLANG_TIDY_PLUGIN": "ON",
"BACKTRACE": "ON",
"LIBBACKTRACE": "ON",
"LINKER": "mold",
"USE_XDG_DIR": "ON",
"USE_HOME_DIR": "OFF",
"USE_PREFIX_DATA_DIR": "OFF",
"USE_TRACY": "ON",
"TRACY_VERSION": "master",
"TRACY_ON_DEMAND": "ON",
"TRACY_ONLY_IPV4": "ON"
}
}
],
"buildPresets": [
{
"name": "linux-tiles-sounds-x64",
"configurePreset": "linux-tiles-sounds-x64"
},
{
"name": "linux-full",
"configurePreset": "linux-full",
"description": "The canonical build preset for Linux. This is the one used by the devteam."
}
]
}