CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include(CrucibleAddLibrary) include(CrucibleAddTest) crucible_add_library(crucible-grok) target_include_directories(crucible-grok PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") target_link_libraries(crucible-grok PUBLIC crucible-core) target_sources(crucible-grok PRIVATE source/crucible/grok/errors.cpp) crucible_add_test(test-crucible-grok) target_link_libraries(test-crucible-grok PRIVATE crucible-grok crucible-testing) target_sources(test-crucible-grok PRIVATE tests/main.cpp)