mirror of
https://github.com/trafi/maybe-result-cpp
synced 2024-11-26 04:26:06 +01:00
16 lines
413 B
CMake
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>
|
|
) |