diff --git a/CMakeLists.txt b/CMakeLists.txt index 52b74b3..d4ac523 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,9 +13,19 @@ target_link_libraries(gwatch PRIVATE cxxopts::cxxopts libdwarf::dwarf) enable_testing() -add_executable(gwatch_tests tests/test_main.cpp) +add_executable(gwatch_tests + tests/test_main.cpp + tests/test_symbol.cpp + tests/test_tracer.cpp + tests/test_integration.cpp + src/symbol.cpp + src/tracer.cpp +) -target_link_libraries(gwatch_tests PRIVATE Catch2::Catch2WithMain) +target_link_libraries(gwatch_tests PRIVATE + Catch2::Catch2WithMain + libdwarf::dwarf +) include(CTest) include(Catch)