Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Sep 21, 2024
1 parent 412171c commit ca47c3b
Showing 1 changed file with 47 additions and 12 deletions.
59 changes: 47 additions & 12 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"displayName": "linux clang debug",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_FLAGS": "-ggdb3 -O0",
Expand All @@ -30,6 +35,11 @@
"displayName": "linux clang debug asan",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_FLAGS": "-ggdb3 -O0 -fsanitize=address",
Expand All @@ -49,6 +59,11 @@
"displayName": "linux clang debug cov",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_FLAGS": "-ggdb3 -O0 -fprofile-instr-generate -fcoverage-mapping",
Expand All @@ -68,6 +83,11 @@
"displayName": "linux gcc debug",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_FLAGS": "-ggdb3 -O0",
Expand All @@ -87,6 +107,11 @@
"displayName": "linux gcc debug asan",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_FLAGS": "-ggdb3 -O0 -fsanitize=address",
Expand All @@ -106,6 +131,11 @@
"displayName": "linux gcc release",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_FLAGS": "-DNDEBUG -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -O3 -pipe",
Expand All @@ -125,6 +155,11 @@
"displayName": "linux gcc release asan",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_FLAGS": "-DNDEBUG -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -O3 -pipe -fsanitize=address",
Expand All @@ -147,7 +182,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -168,7 +203,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -189,7 +224,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
Expand All @@ -210,7 +245,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
Expand All @@ -231,7 +266,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -252,7 +287,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -273,7 +308,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
Expand All @@ -294,7 +329,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
Expand All @@ -315,7 +350,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -336,7 +371,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
Expand All @@ -357,7 +392,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
Expand All @@ -378,7 +413,7 @@
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
Expand Down

0 comments on commit ca47c3b

Please sign in to comment.