CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_crucible_library(crucible-parsing) target_include_directories(crucible-parsing PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") target_link_libraries(crucible-parsing PUBLIC crucible-core) target_sources(crucible-parsing PRIVATE source/crucible/parsing/bits.cpp source/crucible/parsing/text.cpp) add_crucible_test(test-crucible-parsing) target_link_libraries(test-crucible-parsing PRIVATE crucible-parsing crucible-test) target_sources(test-crucible-parsing PRIVATE tests/crucible/parsing/test_bits.cpp tests/crucible/parsing/test_combinators.cpp tests/crucible/parsing/test_text.cpp tests/main.cpp)