-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: very important to NOT export the build debug options!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 mostCMake
tasks simpler!