Try to optimize CI sanitizer checks#80
Conversation
| if(CMAKE_BUILD_TYPE STREQUAL Debug) | ||
| target_link_libraries(${TARGET_LIBRARY} PUBLIC $<BUILD_INTERFACE:${TARGET_LIBRARY}_project_options>) | ||
| target_link_libraries(${TARGET_LIBRARY} PUBLIC $<BUILD_INTERFACE:${TARGET_LIBRARY}_project_warnings>) | ||
| endif() | ||
|
|
There was a problem hiding this comment.
NOTE: very important to NOT export the build debug options!
dietmarkuehl
left a comment
There was a problem hiding this comment.
I'm assuming a similar dependency will be added to beman/exemplar. Effectively, I hope that beman/execution26 can eventually have a copy of what beman/exemplar does just with the project specifics changed (currently, I'm not tracking the changes, though).
My $.02 is, I am not the biggest fan for CMake having dependencies, we ideally should minimize the amount of |
I often use
project_options(see, for example: Sanitizers.cmake). This makes mostCMaketasks simpler!