Skip to content

Commit 047af4c

Browse files
committed
Improve Cmake presets
1 parent 1029b1a commit 047af4c

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

dynadjust/CMakePresets.json

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
"binaryDir": "${sourceParentDir}/build/",
1212
"cacheVariables": {
1313
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
14-
"VCPKG_TARGET_TRIPLET": "x64-windows"
14+
"VCPKG_TARGET_TRIPLET": "x64-windows",
15+
"USE_MKL": "OFF"
1516
}
1617
},
1718
{
18-
"name": "vs-x64",
19+
"name": "vs-x64-mkl",
1920
"displayName": "VS2022 x64 (Intel MKL)",
2021
"generator": "Visual Studio 17 2022",
2122
"architecture": { "value": "x64" },
@@ -36,11 +37,38 @@
3637
],
3738

3839
"buildPresets": [
39-
{ "name": "build-debug", "configurePreset": "vs-x64", "configuration": "Debug" },
40-
{ "name": "build-release", "configurePreset": "vs-x64", "configuration": "Release" }
40+
{
41+
"name": "build-dbg-openblas",
42+
"configurePreset": "vs-x64-openblas",
43+
"configuration": "Debug"
44+
},
45+
{
46+
"name": "build-rel-openblas",
47+
"configurePreset": "vs-x64-openblas",
48+
"configuration": "Release"
49+
},
50+
{
51+
"name": "build-dbg-mkl",
52+
"configurePreset": "vs-x64-mkl",
53+
"configuration": "Debug"
54+
},
55+
{
56+
"name": "build-rel-mkl",
57+
"configurePreset": "vs-x64-mkl",
58+
"configuration": "Release"
59+
}
4160
],
4261

4362
"testPresets": [
44-
{ "name": "ctest", "configurePreset": "vs-x64-mkl", "configuration": "Debug" }
63+
{
64+
"name": "ctest-mkl",
65+
"configurePreset": "vs-x64-mkl",
66+
"configuration": "Debug"
67+
},
68+
{
69+
"name": "ctest-openblas",
70+
"configurePreset": "vs-x64-openblas",
71+
"configuration": "Debug"
72+
}
4573
]
4674
}

0 commit comments

Comments
 (0)