polymech pages
This commit is contained in:
parent
595216fe26
commit
faa8554035
@ -43,13 +43,14 @@ add_subdirectory(packages/html)
|
||||
add_subdirectory(packages/postgres)
|
||||
add_subdirectory(packages/http)
|
||||
add_subdirectory(packages/json)
|
||||
add_subdirectory(packages/polymech)
|
||||
|
||||
# ── Sources ──────────────────────────────────────────────────────────────────
|
||||
add_executable(${PROJECT_NAME}
|
||||
src/main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE CLI11::CLI11 tomlplusplus::tomlplusplus logger html postgres http json)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE CLI11::CLI11 tomlplusplus::tomlplusplus logger html postgres http json polymech)
|
||||
|
||||
# ── Compiler warnings ───────────────────────────────────────────────────────
|
||||
if(MSVC)
|
||||
|
||||
@ -32,3 +32,12 @@ catch_discover_tests(test_functional)
|
||||
add_executable(test_supabase e2e/test_supabase.cpp)
|
||||
target_link_libraries(test_supabase PRIVATE Catch2::Catch2WithMain tomlplusplus::tomlplusplus logger postgres json)
|
||||
catch_discover_tests(test_supabase WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
|
||||
add_executable(test_polymech unit/test_polymech.cpp)
|
||||
target_link_libraries(test_polymech PRIVATE Catch2::Catch2WithMain polymech postgres)
|
||||
catch_discover_tests(test_polymech)
|
||||
|
||||
# E2E test — polymech fetch_pages from live Supabase
|
||||
add_executable(test_polymech_e2e e2e/test_polymech_e2e.cpp)
|
||||
target_link_libraries(test_polymech_e2e PRIVATE Catch2::Catch2WithMain tomlplusplus::tomlplusplus logger postgres polymech json)
|
||||
catch_discover_tests(test_polymech_e2e WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user