-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathCMakePresets.json
More file actions
32 lines (32 loc) · 1.09 KB
/
Copy pathCMakePresets.json
File metadata and controls
32 lines (32 loc) · 1.09 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 31,
"patch": 0
},
"configurePresets": [
{
"name": "ninja",
"displayName": "Ninja Multi-Config",
"description": "Fast cross-platform build (Windows and Linux). Compiles all CUDA translation units in parallel (file-level) via the Ninja Multi-Config generator, unlike the Visual Studio generator which builds whole library projects one after another. Requires Ninja and the CUDA toolchain (nvcc) on PATH; on Windows it must additionally be run from an MSVC environment (e.g. via build-windows-ninja.bat).",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build-ninja",
"toolchainFile": "${sourceDir}/external/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
],
"buildPresets": [
{
"name": "ninja-release",
"displayName": "Ninja - Release",
"configurePreset": "ninja",
"configuration": "Release"
},
{
"name": "ninja-debug",
"displayName": "Ninja - Debug",
"configurePreset": "ninja",
"configuration": "Debug"
}
]
}