Browse Source

CMake: Change default build type to Standard

Sam Edwards 6 years ago
parent
commit
aadcb179d6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dtool/Config.cmake

+ 3 - 3
dtool/Config.cmake

@@ -36,15 +36,15 @@ endif()
 
 
 # Define the type of build we are setting up.
 # Define the type of build we are setting up.
 if(IS_MULTICONFIG)
 if(IS_MULTICONFIG)
-  set(CMAKE_CONFIGURATION_TYPES Release RelWithDebInfo Debug MinSizeRel Standard)
+  set(CMAKE_CONFIGURATION_TYPES Standard Release RelWithDebInfo Debug MinSizeRel)
 else()
 else()
   # CMAKE_BUILD_TYPE can't just be set using the usual set(CACHE) method since
   # CMAKE_BUILD_TYPE can't just be set using the usual set(CACHE) method since
   # it's an empty string by default.
   # it's an empty string by default.
   if(NOT CMAKE_BUILD_TYPE)
   if(NOT CMAKE_BUILD_TYPE)
-    set(CMAKE_BUILD_TYPE RelWithDebInfo)
+    set(CMAKE_BUILD_TYPE Standard)
   endif()
   endif()
   set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
   set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
-    Release RelWithDebInfo Debug MinSizeRel Standard)
+    Standard Release RelWithDebInfo Debug MinSizeRel)
 endif()
 endif()
 
 
 # Provide convenient boolean expression based on build type
 # Provide convenient boolean expression based on build type