Skip to content

Commit 77eaf81

Browse files
committed
[FOLD] don't set CMAKE_CONFIGURATION_TYPES
1 parent 837c5d0 commit 77eaf81

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

third-party/llvm/CMakePresets.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
"binaryDir": "${sourceDir}/build/${presetName}",
9191
"cacheVariables": {
9292
"CMAKE_BUILD_TYPE": "Debug",
93-
"CMAKE_CONFIGURATION_TYPES": "Debug",
9493
"CMAKE_C_FLAGS": "/DWIN32 /D_WINDOWS",
9594
"CMAKE_CXX_FLAGS": "/DWIN32 /D_WINDOWS /EHsc",
9695
"CMAKE_C_FLAGS_DEBUG": "/MDd /Zi /Ob0 /Od /RTC1",
@@ -114,7 +113,6 @@
114113
"binaryDir": "${sourceDir}/build/${presetName}",
115114
"cacheVariables": {
116115
"CMAKE_BUILD_TYPE": "Debug",
117-
"CMAKE_CONFIGURATION_TYPES": "Debug",
118116
"CMAKE_C_FLAGS": "/DWIN32 /D_WINDOWS /Ob1 /O2 /Zi",
119117
"CMAKE_CXX_FLAGS": "/DWIN32 /D_WINDOWS /Ob1 /O2 /Zi",
120118
"CMAKE_C_FLAGS_DEBUG": "/Ob1 /O2 /Zi",
@@ -131,8 +129,7 @@
131129
"description": "Release Config.",
132130
"binaryDir": "${sourceDir}/build/${presetName}",
133131
"cacheVariables": {
134-
"CMAKE_BUILD_TYPE": "Release",
135-
"CMAKE_CONFIGURATION_TYPES": "Release"
132+
"CMAKE_BUILD_TYPE": "Release"
136133
}
137134
},
138135
{
@@ -142,8 +139,7 @@
142139
"description": "Release Config with Debug Info.",
143140
"binaryDir": "${sourceDir}/build/${presetName}",
144141
"cacheVariables": {
145-
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
146-
"CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo"
142+
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
147143
}
148144
},
149145
{

0 commit comments

Comments
 (0)