forked from paulelsner/gurkenlaeufer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
37 lines (28 loc) · 1.19 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project("gurkenlaeufer")
include(CMakeToolsHelpers OPTIONAL)
enable_testing()
set(CMAKE_CXX_STANDARD 11)
if(NOT MSVC)
find_package(Threads REQUIRED)
link_libraries(pthread)
endif()
add_library(gurkenlaeufer INTERFACE)
target_sources(
gurkenlaeufer
INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/GTestRunner.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/Parser.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/ParserCommon.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/ParserInterface.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/ParserStateFactory.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/ParserStates.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/Run.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/ScenarioCollection.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/ScenarioInterface.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/Step.h
${CMAKE_CURRENT_SOURCE_DIR}/include/gurkenlaeufer/StepInterface.h)
target_include_directories(gurkenlaeufer INTERFACE include/)
add_subdirectory(gtest)
add_subdirectory(examples)
add_subdirectory(tests)