-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakePresets.json
More file actions
65 lines (65 loc) · 3.09 KB
/
Copy pathCMakePresets.json
File metadata and controls
65 lines (65 loc) · 3.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
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
{
"version": 8,
"configurePresets": [
{
"name": "skbuild-release",
"displayName": "scikit-build-core (Release, adopt existing tree)",
"description": "Adopt the Release build tree generated by 'uv sync' / scikit-build-core. This project only configures correctly through scikit-build-core (which injects SKBUILD, Python and nanobind cache variables from an ephemeral build-isolation environment). Do NOT reconfigure this preset from CMake Tools; run 'uv sync --all-extras' to (re)generate the tree, then use this preset only to build and run the C++ CTest suite.",
"binaryDir": "${sourceDir}/build/editable/Release",
"generator": "Ninja"
},
{
"name": "skbuild-debug",
"displayName": "scikit-build-core (Debug, adopt existing tree)",
"description": "Adopt the Debug build tree generated by 'uv sync --config-settings=cmake.build-type=Debug' (the 'Install in Debug mode' task). Do NOT reconfigure this preset from CMake Tools; regenerate the tree with uv/scikit-build-core, then use this preset only to build and run the C++ CTest suite.",
"binaryDir": "${sourceDir}/build/editable/Debug",
"generator": "Ninja"
}
],
"buildPresets": [
{
"name": "skbuild-release",
"displayName": "scikit-build-core (Release) - Build C++ unit tests",
"description": "Build the C++ unit test executable in the scikit-build-core Release tree. Requires the tree to already exist (run 'uv sync --all-extras').",
"configurePreset": "skbuild-release",
"targets": [
"monoprop_unit_tests.x",
"monoprop_link_export_probe.x"
],
"jobs": 4
},
{
"name": "skbuild-debug",
"displayName": "scikit-build-core (Debug) - Build C++ unit tests",
"description": "Build the C++ unit test executable in the scikit-build-core Debug tree. Requires the tree to already exist (run the 'Install in Debug mode' task).",
"configurePreset": "skbuild-debug",
"targets": [
"monoprop_unit_tests.x",
"monoprop_link_export_probe.x"
],
"jobs": 4
}
],
"testPresets": [
{
"name": "skbuild-release",
"displayName": "scikit-build-core (Release) - Run C++ unit tests",
"description": "Run the C++ CTest suite from the scikit-build-core Release tree.",
"configurePreset": "skbuild-release",
"output": {
"outputOnFailure": true
},
"inheritConfigureEnvironment": true
},
{
"name": "skbuild-debug",
"displayName": "scikit-build-core (Debug) - Run C++ unit tests",
"description": "Run the C++ CTest suite from the scikit-build-core Debug tree.",
"configurePreset": "skbuild-debug",
"output": {
"outputOnFailure": true
},
"inheritConfigureEnvironment": true
}
]
}