-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCMakePresets.json
More file actions
71 lines (71 loc) · 2.5 KB
/
CMakePresets.json
File metadata and controls
71 lines (71 loc) · 2.5 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
{
"version": 4,
"configurePresets": [
{
"name": "rez-environment",
"hidden": true,
"environment": {
"CPPUNIT_ROOT" : "$env{REZ_CPPUNIT_ROOT}",
"JSONCPP_ROOT" : "$env{REZ_JSONCPP_ROOT}",
"LIBCURL_ROOT" : "$env{REZ_CURL_NO_LDAP_ROOT}",
"DWA_PREFIX_BOOST" : "$env{REZ_BOOST_ROOT}",
"DWA_PREFIX_MICROHTTP" : "$env{REZ_LIBMICROHTTPD_ROOT}"
},
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{DWA_PREFIX_BOOST};$env{DWA_PREFIX_MICROHTTP}",
"CMAKE_MODULE_PATH": "$env{CMAKE_MODULE_PATH}"
}
},
{
"name": "dwa-debug",
"displayName": "DWA Debug",
"inherits": "rez-environment",
"binaryDir": "${sourceParentDir}/build-debug/${sourceDirName}",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
"generator": "Unix Makefiles"
},
{
"name": "dwa-release",
"displayName": "DWA Release",
"inherits": "rez-environment",
"binaryDir": "${sourceParentDir}/build-release/${sourceDirName}",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
"generator": "Unix Makefiles"
},
{
"name": "dwa-relwithdebinfo",
"displayName": "DWA RelWithDebInfo",
"inherits": "rez-environment",
"binaryDir": "${sourceParentDir}/build-relwithdebinfo/${sourceDirName}",
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" },
"generator": "Unix Makefiles"
},
{
"name": "dwa-debug-unit",
"inherits": "dwa-debug",
"cacheVariables": { "SCENERDL2_BUILD_UNITTESTS": "YES" }
},
{
"name": "dwa-release-unit",
"inherits": "dwa-release",
"cacheVariables": { "SCENERDL2_BUILD_UNITTESTS": "YES" }
}
],
"buildPresets": [
{
"name": "dwa-debug",
"displayName": "DWA Debug",
"configurePreset": "dwa-debug"
},
{
"name": "dwa-release",
"displayName": "DWA Release",
"configurePreset": "dwa-release"
},
{
"name": "dwa-relwithdebinfo",
"displayName": "DWA RelWithDebInfo",
"configurePreset": "dwa-relwithdebinfo"
}
]
}