mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 05:55:43 -04:00

This moves the cmake configuration for fuzzers in LLVM to a new macro, add_llvm_fuzzer. This will make it easier to keep things consistent while implementing llvm.org/pr34314. I've also made a couple of minor functional changes here: - the fuzzers now use add_llvm_executable rather than add_llvm_tool. This means they won't create install targets and stuff like that, because those made little sense for these fuzzers. - I've grouped these under "Fuzzers" rather than in with "Tools" for people who build with IDEs. llvm-svn: 312200
11 lines
155 B
CMake
11 lines
155 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
DebugInfoDWARF
|
|
Object
|
|
Support
|
|
)
|
|
|
|
add_llvm_fuzzer(llvm-dwarfdump-fuzzer
|
|
EXCLUDE_FROM_ALL
|
|
llvm-dwarfdump-fuzzer.cpp
|
|
)
|