add compiler sanitizers support
Review Request #119968 - Created Aug. 28, 2014 and submitted
This module uses a cached variable to hold a list of compiler sanitizers
It parses that list, checks the sanitizer desired options, then checks the compiler
support and set the appropriate flags.
|I don't think we need this, link_libraries does this job.||Albert Astals Cid|
|Obviously asan needs to be replaced here by a proper variable depending on the saniitizer||Albert Astals Cid|
|More documentation. What sanitizers are supported? Provide an example cmake command. Say how to use the module (I know it's ...||Alex Merry|
This is starting to look good, i'd very much prefer if you added a
at the end of
so that all KDE-based software would immeditely benefit from this.
Thank you for your different reviews.
the CMAKE_EXE_LINKER_FLAGS variable has been removed.
link_libraries() use a variable depending on the sanitizers selected.
documentation has been added to explain how to use the module.
Revision 4 (+141)