CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include(CrucibleAddLibrary) include(CrucibleAddTest) crucible_add_library(crucible-bolt INTERFACE) target_include_directories(crucible-bolt INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") crucible_add_test(test-crucible-bolt) target_link_libraries(test-crucible-bolt PRIVATE crucible-bolt crucible-testing) target_sources(test-crucible-bolt PRIVATE tests/main.cpp)