Skip to content

Commit e73ce38

Browse files
authored
Merge pull request #144 from leftibot/fix/issue-134-enable-developer-mode-is-still-relevant
[WIP] Issue #134 — ENABLE_DEVELOPER_MODE is still relevant?
2 parents ea9a592 + cde9dbb commit e73ce38

2 files changed

Lines changed: 11 additions & 37 deletions

File tree

CMakePresets.json

Lines changed: 10 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -57,51 +57,25 @@
5757
}
5858
},
5959
{
60-
"name": "windows-msvc-debug-developer-mode",
61-
"displayName": "msvc Debug (Developer Mode)",
60+
"name": "windows-msvc-debug",
61+
"displayName": "msvc Debug",
6262
"description": "Target Windows with the msvc compiler, debug build type",
6363
"inherits": "conf-windows-common",
6464
"cacheVariables": {
6565
"CMAKE_C_COMPILER": "cl",
6666
"CMAKE_CXX_COMPILER": "cl",
67-
"CMAKE_BUILD_TYPE": "Debug",
68-
"ENABLE_DEVELOPER_MODE": "ON"
69-
}
70-
},
71-
{
72-
"name": "windows-msvc-release-developer-mode",
73-
"displayName": "msvc Release (Developer Mode)",
74-
"description": "Target Windows with the msvc compiler, release build type",
75-
"inherits": "conf-windows-common",
76-
"cacheVariables": {
77-
"CMAKE_C_COMPILER": "cl",
78-
"CMAKE_CXX_COMPILER": "cl",
79-
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
80-
"ENABLE_DEVELOPER_MODE": "ON"
81-
}
82-
},
83-
{
84-
"name": "windows-msvc-debug-user-mode",
85-
"displayName": "msvc Debug (User Mode)",
86-
"description": "Target Windows with the msvc compiler, debug build type",
87-
"inherits": "conf-windows-common",
88-
"cacheVariables": {
89-
"CMAKE_C_COMPILER": "cl",
90-
"CMAKE_CXX_COMPILER": "cl",
91-
"CMAKE_BUILD_TYPE": "Debug",
92-
"ENABLE_DEVELOPER_MODE": "OFF"
67+
"CMAKE_BUILD_TYPE": "Debug"
9368
}
9469
},
9570
{
96-
"name": "windows-msvc-release-user-mode",
97-
"displayName": "msvc Release (User Mode)",
71+
"name": "windows-msvc-release",
72+
"displayName": "msvc Release",
9873
"description": "Target Windows with the msvc compiler, release build type",
9974
"inherits": "conf-windows-common",
10075
"cacheVariables": {
10176
"CMAKE_C_COMPILER": "cl",
10277
"CMAKE_CXX_COMPILER": "cl",
103-
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
104-
"ENABLE_DEVELOPER_MODE": "OFF"
78+
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
10579
}
10680
},
10781
{
@@ -195,18 +169,18 @@
195169
}
196170
},
197171
{
198-
"name": "test-windows-msvc-debug-developer-mode",
172+
"name": "test-windows-msvc-debug",
199173
"displayName": "Strict",
200174
"description": "Enable output and stop on failure",
201175
"inherits": "test-common",
202-
"configurePreset": "windows-msvc-debug-developer-mode"
176+
"configurePreset": "windows-msvc-debug"
203177
},
204178
{
205-
"name": "test-windows-msvc-release-developer-mode",
179+
"name": "test-windows-msvc-release",
206180
"displayName": "Strict",
207181
"description": "Enable output and stop on failure",
208182
"inherits": "test-common",
209-
"configurePreset": "windows-msvc-release-developer-mode"
183+
"configurePreset": "windows-msvc-release"
210184
},
211185
{
212186
"name": "test-windows-clang-debug",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
This is a C++ Best Practices GitHub template for getting up and running with C++ quickly.
1010

11-
By default (collectively known as `ENABLE_DEVELOPER_MODE`)
11+
By default (when building as the top-level project)
1212

1313
* Address Sanitizer and Undefined Behavior Sanitizer enabled where possible
1414
* Warnings as errors

0 commit comments

Comments
 (0)