aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/fuzzer/CMakeLists.txt
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-07-25 10:10:32 +0200
committerRenaud G <renaud@rolisteam.org>2019-07-25 10:10:32 +0200
commit611aa0defd63ebc3b4e3d16a86c495a9af120728 (patch)
tree08dbfc737c2ca3ffd34e64558229ab1e68d1b375 /tests/fuzzer/CMakeLists.txt
parentd64ad7bb3e8fd632217ba0e8aae0586d8ed72ac6 (diff)
downloadOneRoll-611aa0defd63ebc3b4e3d16a86c495a9af120728.tar.gz
OneRoll-611aa0defd63ebc3b4e3d16a86c495a9af120728.zip
add fuzzer test
Diffstat (limited to 'tests/fuzzer/CMakeLists.txt')
-rw-r--r--tests/fuzzer/CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/fuzzer/CMakeLists.txt b/tests/fuzzer/CMakeLists.txt
new file mode 100644
index 0000000..14386dc
--- /dev/null
+++ b/tests/fuzzer/CMakeLists.txt
@@ -0,0 +1,25 @@
+cmake_minimum_required(VERSION 3.10)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra")
+set(CMAKE_AUTOMOC ON)
+
+find_package(Qt5Core REQUIRED)
+find_package(Qt5Gui REQUIRED)
+find_package(Qt5Svg REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+set(CMAKE_AUTOMOC ON)
+
+#SET (CMAKE_EXE_LINKER_FLAGS "-static")
+
+add_definitions(-DPAINTER_OP)
+set(MODE "cli")
+
+
+
+set(fdsource testcase.cpp)
+
+add_executable(fuzzTestCase ${fdsource} )
+
+
+target_link_libraries(fuzzTestCase libdiceparser.a Qt5::Core Qt5::Gui Qt5::Svg)
+#target_link_libraries(fuzzTestCase )