-
Notifications
You must be signed in to change notification settings - Fork 254
/
CMakePresets.json
112 lines (112 loc) · 4.8 KB
/
CMakePresets.json
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"version": 4,
"configurePresets": [
{
"name": "dwa-macos-environment",
"hidden": true,
"environment": {
"DEPS_ROOT" : "${sourceParentDir}/../installs",
"BUILD_DIR" : "${sourceParentDir}/../build",
"CppUnit_ROOT" : "$env{DEPS_ROOT}",
"ISPC" : "$env{DEPS_ROOT}/bin/ispc",
"JsonCpp_ROOT" : "$env{DEPS_ROOT}",
"Libcurl_ROOT" : "/usr/local",
"LIBUNWIND_ROOT" : "/usr/local",
"Log4cplus_ROOT" : "$env{DEPS_ROOT}",
"LUA_DIR" : "$env{DEPS_ROOT}",
"OpenSubDiv_ROOT" : "$env{DEPS_ROOT}",
"OpenVDB_ROOT" : "$env{DEPS_ROOT}",
"OPTIX_ROOT" : "$env{DEPS_ROOT}/optix",
"PXR_USD_LOCATION" : "$env{DEPS_ROOT}",
"PXR_INCLUDE_DIRS" : "$env{DEPS_ROOT}/include",
"Random123_ROOT" : "$env{DEPS_ROOT}",
"ZLIB_ROOT" : "/usr/local"
},
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{DEPS_ROOT}"
}
},
{
"name": "dwa-macos-debug",
"displayName": "for Debug macOS builds at DWA",
"inherits": "dwa-macos-environment",
"binaryDir": "$env{BUILD_DIR}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceParentDir}/../installs/openmoonray/Debug"
},
"generator": "Xcode"
},
{
"name": "dwa-macos-release",
"displayName": "for Release macOS builds at DWA",
"inherits": "dwa-macos-environment",
"binaryDir": "$env{BUILD_DIR}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceParentDir}/../installs/openmoonray/Release"
},
"generator": "Xcode"
},
{
"name": "container-environment-macOS",
"hidden": true,
"environment": {
"DEPS_ROOT" : "${sourceParentDir}/installs",
"BUILD_DIR" : "${sourceParentDir}/build",
"BOOST_ROOT" : "$env{DEPS_ROOT}",
"LIBUUID_ROOT" : "$env{DEPS_ROOT}",
"CPPUNIT_ROOT" : "$env{DEPS_ROOT}",
"ISPC" : "$env{DEPS_ROOT}/bin/ispc",
"JSONCPP_ROOT" : "$env{DEPS_ROOT}",
"LIBCURL_ROOT" : "$env{DEPS_ROOT}",
"LOG4CPLUS_ROOT" : "$env{DEPS_ROOT}",
"LUA_DIR" : "$env{DEPS_ROOT}",
"OPENSUBDIV_ROOT" : "$env{DEPS_ROOT}",
"OPENVDB_ROOT" : "$env{DEPS_ROOT}",
"OPTIX_ROOT" : "$env{DEPS_ROOT}/optix",
"PXR_USD_LOCATION" : "$env{DEPS_ROOT}",
"PXR_INCLUDE_DIRS" : "$env{DEPS_ROOT}/include",
"RANDOM123_ROOT" : "$env{DEPS_ROOT}",
"ZLIB_ROOT" : "$env{DEPS_ROOT}"
},
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{DEPS_ROOT}"
}
},
{
"name": "container-macOS",
"displayName": "Container for macOS builds",
"inherits": "container-environment-macOS",
"binaryDir": "$env{BUILD_DIR}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceParentDir}/installs/openmoonray"
},
"generator": "Xcode"
}
],
"buildPresets": [
{
"name": "dwa-macos-debug",
"displayName": "DWA macOS Debug",
"configurePreset": "dwa-macos-debug",
"configuration": "Debug",
"targets": ["install"]
},
{
"name": "dwa-macos-release",
"displayName": "DWA macOS Release",
"configurePreset": "dwa-macos-release",
"configuration": "Release",
"targets": ["install"]
},
{
"name": "container-macOS",
"displayName": "Container macOS Release",
"configurePreset": "container-macOS",
"configuration": "Release",
"targets": ["install"]
}
]
}