-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
55 lines (55 loc) · 1.57 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "library",
"description": "Minimal release build to produce libbasalt.so implementing VIT symbols",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BASALT_BUILD_SHARED_LIBRARY_ONLY": "on"
}
},
{
"name": "ci",
"description": "CI build",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BASALT_BUILD_SHARED_LIBRARY_ONLY": "on",
"CMAKE_INSTALL_PREFIX": "/usr",
"CMAKE_CXX_FLAGS": "-mtune=haswell -march=haswell",
"CMAKE_C_FLAGS": "-mtune=haswell -march=haswell"
}
},
{
"name": "development",
"description": "Release build with extra binaries and debug symbols",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BASALT_BUILD_SHARED_LIBRARY_ONLY": "off"
}
},
{
"name": "full",
"description": "Release build with extra binaries, debug symbols, tests and double precision pipeline",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"BASALT_BUILD_SHARED_LIBRARY_ONLY": "off",
"BASALT_INSTANTIATIONS_DOUBLE": "on",
"BUILD_TESTS": "on"
}
}
]
}