From 79cf8beeb8c35cab77ff587d813f35cad6cd8358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20Gr=C3=B6n?= Date: Sat, 9 Nov 2024 16:12:35 +0200 Subject: [PATCH] Cmake debugging --- editor/CMakeLists.txt | 1 + engine/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt index 46023a7..2d21f98 100644 --- a/editor/CMakeLists.txt +++ b/editor/CMakeLists.txt @@ -108,6 +108,7 @@ target_compile_definitions(${EXECUTABLE_NAME} PRIVATE IMGUI_IMPL_OPENGL_LOADER_GLAD ) +message(EDITOR KOKKO_USE_SANITIZER=${KOKKO_USE_SANITIZER}) if(${KOKKO_USE_SANITIZER}) target_compile_options(${EXECUTABLE_NAME} INTERFACE -fsanitize=${KOKKO_USE_SANITIZER}) target_link_options(${EXECUTABLE_NAME} INTERFACE -fsanitize=${KOKKO_USE_SANITIZER}) diff --git a/engine/CMakeLists.txt b/engine/CMakeLists.txt index d19db15..864f83f 100644 --- a/engine/CMakeLists.txt +++ b/engine/CMakeLists.txt @@ -418,6 +418,7 @@ target_link_libraries(${KOKKO_LIB} PUBLIC OpenGL::GL) target_compile_definitions(${KOKKO_LIB} PUBLIC KOKKO_USE_OPENGL) endif() +message(ENGINE KOKKO_USE_SANITIZER=${KOKKO_USE_SANITIZER}) if(${KOKKO_USE_SANITIZER}) target_compile_options(${KOKKO_LIB} INTERFACE -fsanitize=${KOKKO_USE_SANITIZER}) target_link_options(${KOKKO_LIB} INTERFACE -fsanitize=${KOKKO_USE_SANITIZER})