Update: Using C++26 with contracts enabled
This commit is contained in:
+17
-3
@@ -10,11 +10,21 @@
|
||||
"name": "default",
|
||||
"displayName": "GCC 16 + C++26",
|
||||
"generator": "Unix Makefiles",
|
||||
"binaryDir": "${sourceDir}/build",
|
||||
"binaryDir": "${sourceDir}/cmake-build-debug-gcc-16-cpp26",
|
||||
"toolchainFile": "${sourceDir}/cmake/toolchains/gcc-16.cmake",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug",
|
||||
"CMAKE_C_COMPILER": "/opt/homebrew/bin/gcc-16",
|
||||
"CMAKE_CXX_COMPILER": "/opt/homebrew/bin/g++-16",
|
||||
"COURSE_ENABLE_CONTRACTS": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"displayName": "GCC 16 + C++26 (Release)",
|
||||
"generator": "Unix Makefiles",
|
||||
"binaryDir": "${sourceDir}/cmake-build-release-gcc-16-cpp26",
|
||||
"toolchainFile": "${sourceDir}/cmake/toolchains/gcc-16.cmake",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"COURSE_ENABLE_CONTRACTS": "ON"
|
||||
}
|
||||
}
|
||||
@@ -23,6 +33,10 @@
|
||||
{
|
||||
"name": "default",
|
||||
"configurePreset": "default"
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"configurePreset": "release"
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
|
||||
Reference in New Issue
Block a user