Skip to content

Commit

Permalink
Cmake debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksigron committed Nov 9, 2024
1 parent c598b9d commit 79cf8be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions editor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
1 change: 1 addition & 0 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 79cf8be

Please sign in to comment.