2016-07-05 21:59:12 +02:00
|
|
|
set(TARGET "tests")
|
|
|
|
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
|
|
|
|
|
|
|
|
add_executable(${TARGET}
|
|
|
|
main.cpp
|
2016-07-07 09:46:19 +02:00
|
|
|
example_test.cpp
|
2016-07-06 19:25:05 +02:00
|
|
|
result_tests.cpp
|
2016-07-07 00:10:45 +02:00
|
|
|
result_map_tests.cpp
|
2016-07-07 00:30:56 +02:00
|
|
|
result_map_err_tests.cpp
|
2016-09-22 10:55:33 +02:00
|
|
|
result_into_err_tests.cpp
|
2016-07-07 00:10:45 +02:00
|
|
|
result_and_then_tests.cpp
|
2016-07-07 09:46:19 +02:00
|
|
|
example_test.cpp)
|
2016-07-05 21:59:12 +02:00
|
|
|
|
|
|
|
target_include_directories(${TARGET}
|
|
|
|
PUBLIC $<TARGET_PROPERTY:maybe_result,INTERFACE_INCLUDE_DIRECTORIES>
|
|
|
|
)
|