Remove enable-debug cmake option

This commit is contained in:
derselbst 2021-10-17 18:31:43 +02:00
parent bb3bc6da26
commit a01917baa2

View file

@ -62,7 +62,6 @@ set ( LIB_VERSION_INFO
# Options disabled by default # Options disabled by default
option ( enable-coverage "enable gcov code coverage" off ) option ( enable-coverage "enable gcov code coverage" off )
option ( enable-debug "enable debugging (default=no)" off )
option ( enable-floats "enable type float instead of double for DSP samples" off ) option ( enable-floats "enable type float instead of double for DSP samples" off )
option ( enable-fpe-check "enable Floating Point Exception checks and debug messages" off ) option ( enable-fpe-check "enable Floating Point Exception checks and debug messages" off )
option ( enable-portaudio "compile PortAudio support" off ) option ( enable-portaudio "compile PortAudio support" off )
@ -432,11 +431,6 @@ if ( enable-fpe-check AND NOT APPLE AND NOT WIN32 )
set ( FPE_CHECK 1 ) set ( FPE_CHECK 1 )
endif ( enable-fpe-check AND NOT APPLE AND NOT WIN32 ) endif ( enable-fpe-check AND NOT APPLE AND NOT WIN32 )
if ( enable-debug )
set ( CMAKE_BUILD_TYPE "Debug" CACHE STRING
"Choose the build type, options: Debug Release RelWithDebInfo MinSizeRel" FORCE )
endif ( enable-debug )
if ( NOT CMAKE_BUILD_TYPE ) if ( NOT CMAKE_BUILD_TYPE )
set ( CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING set ( CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
"Choose the build type, options: Debug Release RelWithDebInfo MinSizeRel" FORCE ) "Choose the build type, options: Debug Release RelWithDebInfo MinSizeRel" FORCE )