From 5372f2ecb02db6fd25588c1f795af3e5d96273e8 Mon Sep 17 00:00:00 2001 From: n0ffie Date: Tue, 18 Mar 2025 15:05:08 +0100 Subject: [PATCH] Add Debug Preprocessor on linux --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 021655c..749f093 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,6 +53,11 @@ target_link_libraries(colysis SFML::System ) +target_compile_definitions(colysis PUBLIC "$<$:_DEBUG>") + +target_include_directories(colysis PUBLIC include + #${ALYSON_INCLUDE_DIR} +) # put the assets folder path as a C preprocessor define set(ASSETS_PATH "${CMAKE_CURRENT_SOURCE_DIR}/assets/")