CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
add_crucible_library(crucible-core INTERFACE) target_include_directories(crucible-core INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") add_crucible_test(test-crucible-core) target_link_libraries(test-crucible-core PRIVATE crucible-core crucible-test) target_sources(test-crucible-core PRIVATE tests/crucible/core/test_constant_error.cpp tests/crucible/core/test_error_chain.cpp tests/crucible/core/test_resource_warden.cpp tests/crucible/core/test_result.cpp tests/main.cpp)