Skip to content

Commit bca5ec2

Browse files
committed
We want to turn off extensions in the this project
1 parent ffed227 commit bca5ec2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakePresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"binaryDir": "${sourceDir}/build/${presetName}",
99
"cacheVariables": {
1010
"CMAKE_CXX_STANDARD": "17",
11-
"CMAKE_CXX_EXTENSIONS": true,
11+
"CMAKE_CXX_EXTENSIONS": false,
1212
"CMAKE_CXX_STANDARD_REQUIRED": true,
1313
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
1414
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "${sourceDir}/infra/cmake/use-fetch-content.cmake"

cookiecutter/{{cookiecutter.project_name}}/CMakePresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"binaryDir": "${sourceDir}/build/${presetName}",
99
"cacheVariables": {
1010
"CMAKE_CXX_STANDARD": "{{cookiecutter.minimum_cpp_build_version}}",
11-
"CMAKE_CXX_EXTENSIONS": true,
11+
"CMAKE_CXX_EXTENSIONS": false,
1212
"CMAKE_CXX_STANDARD_REQUIRED": true,
1313
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
1414
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "${sourceDir}/infra/cmake/use-fetch-content.cmake"

0 commit comments

Comments
 (0)