open-source-search-engine/test/CMakeLists.txt
twistdroach 1e39c7616e Cleanup Linkdb.cpp/h, remove much commented code. IMPORTANT: removed
some this==null checks.  Fixed Cmake builds for macos.
2024-06-30 00:45:51 -04:00

17 lines
497 B
CMake

find_package(Catch2 3 REQUIRED)
include_directories( ${CMAKE_SOURCE_DIR}/src )
include(Catch)
add_executable(Abbreviations src/Abbreviations.cpp)
target_link_libraries(Abbreviations PRIVATE Catch2::Catch2 osse)
catch_discover_tests(Abbreviations)
add_executable(test1 src/test1.cpp)
target_link_libraries(test1 PRIVATE Catch2::Catch2 osse)
catch_discover_tests(test1)
add_executable(Linkdb src/Linkdb.cpp)
target_link_libraries(Linkdb PRIVATE Catch2::Catch2 osse)
catch_discover_tests(Linkdb)