aboutsummaryrefslogtreecommitdiffstats
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-08-09 02:04:21 +0200
committerSven Göthel <[email protected]>2024-08-09 02:04:21 +0200
commit16c57012a01f641b8d4d07860d9af2bc27225971 (patch)
tree20f3d6eeb50a9db5e165621c7d4fa4bfd89f1d09 /CMakePresets.json
parentadc6a50ff46cb2dfea18c942e1fdd372a2f18888 (diff)
Align to jaulib 1.3.3: Full cmake-presets usage w/ vscode support updatev0.0.2
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json28
1 files changed, 16 insertions, 12 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index 9992dad..d478034 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -9,10 +9,10 @@
{
"name": "debug",
"displayName": "Debug (cc, C++20)",
- "binaryDir": "${sourceDir}/build/preset-debug",
+ "binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
- "CMAKE_INSTALL_PREFIX": "dist/preset-debug",
+ "CMAKE_INSTALL_PREFIX": "dist/debug",
"JAU_CMAKE_FIX_INSTALL_PREFIX": "ON",
"USE_LIBUNWIND": "ON",
"USE_LIBCURL": "OFF",
@@ -24,19 +24,21 @@
"name": "debug-clang",
"inherits": "debug",
"displayName": "Debug (clang, clang-tidy, C++20)",
- "binaryDir": "${sourceDir}/build/preset-debug-clang",
+ "binaryDir": "${sourceDir}/build/debug-clang",
"cacheVariables": {
+ "CMAKE_INSTALL_PREFIX": "dist/debug-clang",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
- "CMAKE_CXX_CLANG_TIDY": "clang-tidy;-p;${sourceDir}/build/preset-debug-clang"
+ "CMAKE_CXX_CLANG_TIDY": "clang-tidy;-p;${sourceDir}/build/debug-clang"
}
},
{
"name": "debug-gcc",
"inherits": "debug",
"displayName": "Debug (gcc, C++20)",
- "binaryDir": "${sourceDir}/build/preset-debug-gcc",
+ "binaryDir": "${sourceDir}/build/debug-gcc",
"cacheVariables": {
+ "CMAKE_INSTALL_PREFIX": "dist/debug-gcc",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
}
@@ -45,10 +47,10 @@
"name": "release",
"inherits": "debug",
"displayName": "Release (cc, C++20)",
- "binaryDir": "${sourceDir}/build/preset-release",
+ "binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
- "CMAKE_INSTALL_PREFIX": "dist/preset-release",
+ "CMAKE_INSTALL_PREFIX": "dist/release",
"JAU_CMAKE_FIX_INSTALL_PREFIX": "ON"
}
},
@@ -56,19 +58,21 @@
"name": "release-clang",
"inherits": "release",
"displayName": "Release (clang, clang-tidy, C++20)",
- "binaryDir": "${sourceDir}/build/preset-release-clang",
+ "binaryDir": "${sourceDir}/build/release-clang",
"cacheVariables": {
+ "CMAKE_INSTALL_PREFIX": "dist/release-clang",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
- "CMAKE_CXX_CLANG_TIDY": "clang-tidy;-p;${sourceDir}/build/preset-release-clang"
+ "CMAKE_CXX_CLANG_TIDY": "clang-tidy;-p;${sourceDir}/build/release-clang"
}
},
{
"name": "release-gcc",
"inherits": "release",
"displayName": "Release (gcc, C++20)",
- "binaryDir": "${sourceDir}/build/preset-release-gcc",
+ "binaryDir": "${sourceDir}/build/release-gcc",
"cacheVariables": {
+ "CMAKE_INSTALL_PREFIX": "dist/release-gcc",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
}
@@ -77,9 +81,9 @@
"name": "release-wasm",
"inherits": "release",
"displayName": "Release (emscripten, C++20)",
- "binaryDir": "${sourceDir}/build/preset-release-wasm",
+ "binaryDir": "${sourceDir}/build/release-wasm",
"cacheVariables": {
- "CMAKE_INSTALL_PREFIX": "dist/preset-release-wasm",
+ "CMAKE_INSTALL_PREFIX": "dist/release-wasm",
"JAU_CMAKE_FIX_INSTALL_PREFIX": "ON",
"USE_LIBUNWIND": "OFF"
}