aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/dice/CMakeLists.txt
blob: d2546242809d6bf4ed2ae4b6eea25fc01599f83e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra")
set(CMAKE_AUTOMOC ON)
find_package(Qt5Test REQUIRED)

set(test_source testnode.cpp tst_dice.cpp)

add_executable(test_dice ${test_source} ${dice_sources})

target_include_directories(test_dice PRIVATE ../../include)

target_link_libraries(test_dice Qt5::Test)
add_test(tst_diceparser test_dice)