From: Joel Holdsworth Date: Sat, 25 Jan 2014 11:22:16 +0000 (+0000) Subject: Set default build type to RelWithDebInfo X-Git-Tag: pulseview-0.2.0~112 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=552f686eee3b9cc12304becdc4348ad1018870ae;p=pulseview.git Set default build type to RelWithDebInfo --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ba907af..a0c08036 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 #-------------------------------------------------------------------------------