summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Fuzzers/CMakeLists.txt')
-rw-r--r--Meta/Lagom/Fuzzers/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Meta/Lagom/Fuzzers/CMakeLists.txt b/Meta/Lagom/Fuzzers/CMakeLists.txt
index cec56eccb6..a52bb14723 100644
--- a/Meta/Lagom/Fuzzers/CMakeLists.txt
+++ b/Meta/Lagom/Fuzzers/CMakeLists.txt
@@ -1,3 +1,12 @@
+add_executable(FuzzBMP FuzzBMP.cpp)
+target_compile_options(FuzzBMP
+ PRIVATE $<$<C_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer>
+ )
+target_link_libraries(FuzzBMP
+ PUBLIC Lagom
+ PRIVATE $<$<C_COMPILER_ID:Clang>:-fsanitize=fuzzer>
+ )
+
add_executable(FuzzELF FuzzELF.cpp)
target_compile_options(FuzzELF
PRIVATE $<$<C_COMPILER_ID:Clang>:-g -O1 -fsanitize=fuzzer>