From 4abb242204e117edfec86a24bbecc689ace6a9a7 Mon Sep 17 00:00:00 2001 From: 0scar Date: Tue, 15 Aug 2023 09:09:14 +0200 Subject: Update the _DEBUG macro test to something more standard --- CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e3c2fa..b9f4d70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,6 @@ cmake_dependent_option(DAW_BUILD_DEBUG "Compile daw engine with debugging features" ON "CMAKE_BUILD_TYPE STREQUAL Debug" OFF) -# unused cmake_dependent_option(DAW_BUILD_HOTRELOAD "Compile daw engine with hot reloading enabled" ON "NOT CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME;CMAKE_BUILD_TYPE STREQUAL Debug;NOT WIN32;BUILD_SHARED_LIBS" OFF) @@ -34,12 +33,6 @@ cmake_dependent_option(DAW_BUILD_UBSAN "Compile daw engine with undefined behaviour sanitizer (ubsan)" ON "DAW_BUILD_DEBUG;UBSAN" OFF) -# unused -cmake_dependent_option(DAW_BUILD_STANDALONE - # Would require us to enable dynamically registered states. - "Compile daw as a standalone library. This is not implemented yet." OFF - "TRUE" OFF) - # unused cmake_dependent_option(DAW_BUILD_TOOLS "Build tools to manipulate a daw project" ON @@ -124,7 +117,7 @@ target_compile_options(${PROJECT_NAME} PUBLIC ) target_compile_definitions(${PROJECT_NAME} PUBLIC - $<$:DAW_BUILD_DEBUG> + $<$:_DEBUG> $<$:DAW_BUILD_HOTRELOAD> ) -- cgit v1.3