Change default build type to RelWithDebInfo (#66)

This commit is contained in:
James Jacobsson 2017-02-16 05:18:07 +01:00 committed by Anthony Pesch
parent f3a6d87af4
commit c803ad01f3
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ set(CMAKE_CXX_STANDARD 11)
# configuration options
#--------------------------------------------------
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif()
option(BUILD_TOOLS "Build tools" ON)
option(BUILD_TESTS "Build tests" ON)