3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-02 19:35:32 +02:00

[cmake] Run Debug checks also in RelWithDebInfo build mode

This commit is contained in:
Nils Wentzell 2023-09-27 11:12:45 -04:00
parent 93ee35d25e
commit f4fb3278ee

View File

@ -15,9 +15,9 @@ target_include_directories(${PROJECT_NAME}_c SYSTEM INTERFACE $<INSTALL_INTERFAC
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
APP4TRIQS_GIT_HASH=${PROJECT_GIT_HASH}
TRIQS_GIT_HASH=${TRIQS_GIT_HASH}
$<$<CONFIG:Debug>:APP4TRIQS_DEBUG>
$<$<CONFIG:Debug>:TRIQS_DEBUG>
$<$<CONFIG:Debug>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
$<$<CONFIG:Debug,RelWithDebInfo>:APP4TRIQS_DEBUG>
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_DEBUG>
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
)
# Install library and headers