1
1
mirror of https://github.com/trafi/maybe-result-cpp synced 2024-11-26 04:26:06 +01:00
maybe-result-cpp/tests/CMakeLists.txt
Nerijus Arlauskas 8c11104417 Add example.
2016-07-07 10:46:19 +03:00

16 lines
413 B
CMake

set(TARGET "tests")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
add_executable(${TARGET}
main.cpp
example_test.cpp
result_tests.cpp
result_map_tests.cpp
result_map_err_tests.cpp
result_and_then_tests.cpp
example_test.cpp)
target_include_directories(${TARGET}
PUBLIC $<TARGET_PROPERTY:maybe_result,INTERFACE_INCLUDE_DIRECTORIES>
)