[PATCH] D20558: [LibFuzzer] Start cleaning up the CMakeLists.txt files.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 21:39:32 PDT 2016
delcypher created this revision.
delcypher added a reviewer: kcc.
delcypher added a subscriber: llvm-commits.
Herald added a subscriber: kubabrecka.
[LibFuzzer] Start cleaning up the CMakeLists.txt files.
Previously the flags were only being set correctly when the
build type was "Release". Now the build should work properly
for all the supported build types. When building libFuzzer
the optimization level respects whatever is used for the
rest of LLVM but for the LibFuzzer tests we force -O0.
While I am here try to avoid setting `CMAKE_CXX_FLAGS` and
`CMAKE_CXX_FLAGS_*` where possible and instead use
`target_compile_options()` and `llvm_append_linker_flag()`
which is cleaner.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9130 bytes
Desc: not available
More information about the llvm-commits