-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
31 lines (31 loc) · 955 Bytes
/
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
{
"version": 6,
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-Wall -Wextra",
"CMAKE_CUDA_FLAGS": "--generate-line-info -Xptxas --warn-on-double-precision-use -Xptxas --warn-on-local-memory-usage -Xptxas --warn-on-spills",
"CMAKE_PREFIX_PATH": "/usr/local/cuda"
}
},
{
"name": "relwithdebinfo",
"inherits": "base",
"binaryDir": "${sourceDir}/build/relwithdebinfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "debug",
"inherits": "base",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
}