mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
[cmake] Run Debug checks also in RelWithDebInfo build mode
This commit is contained in:
parent
93ee35d25e
commit
f4fb3278ee
@ -15,9 +15,9 @@ target_include_directories(${PROJECT_NAME}_c SYSTEM INTERFACE $<INSTALL_INTERFAC
|
|||||||
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
|
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
|
||||||
APP4TRIQS_GIT_HASH=${PROJECT_GIT_HASH}
|
APP4TRIQS_GIT_HASH=${PROJECT_GIT_HASH}
|
||||||
TRIQS_GIT_HASH=${TRIQS_GIT_HASH}
|
TRIQS_GIT_HASH=${TRIQS_GIT_HASH}
|
||||||
$<$<CONFIG:Debug>:APP4TRIQS_DEBUG>
|
$<$<CONFIG:Debug,RelWithDebInfo>:APP4TRIQS_DEBUG>
|
||||||
$<$<CONFIG:Debug>:TRIQS_DEBUG>
|
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_DEBUG>
|
||||||
$<$<CONFIG:Debug>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
|
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
|
||||||
)
|
)
|
||||||
|
|
||||||
# Install library and headers
|
# Install library and headers
|
||||||
|
Loading…
Reference in New Issue
Block a user