]> sigrok.org Git - pulseview.git/commitdiff
Set default build type to RelWithDebInfo
authorJoel Holdsworth <redacted>
Sat, 25 Jan 2014 11:22:16 +0000 (11:22 +0000)
committerBert Vermeulen <redacted>
Sat, 25 Jan 2014 11:54:10 +0000 (12:54 +0100)
CMakeLists.txt

index 2ba907af96be14167535429551873a751d639c04..a0c0803622e0b702f60e6fbcb89245f9d885b6bf 100644 (file)
@@ -51,6 +51,12 @@ if(WIN32)
        set(ENABLE_SIGNALS FALSE)
 endif()
 
+if(NOT CMAKE_BUILD_TYPE)
+  set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
+      "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
+      FORCE)
+endif()
+
 #===============================================================================
 #= Dependencies
 #-------------------------------------------------------------------------------