Echo Writes Code

CMakeLists.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
crucible_add_library(crucible-math INTERFACE)

target_include_directories(crucible-math INTERFACE
  "${CMAKE_CURRENT_SOURCE_DIR}/include")

target_link_libraries(crucible-math INTERFACE
  crucible-core)

crucible_add_test_suite(test-crucible-math)

target_link_libraries(test-crucible-math PRIVATE
  crucible-core
  crucible-math
  crucible-test)

target_sources(test-crucible-math PRIVATE
  tests/main.cpp)