diff --git a/CMakeLists.txt b/CMakeLists.txt index f7d751e..975fc6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -398,6 +398,16 @@ add_executable(tests target_link_libraries(tests PRIVATE mean_field test_mod Catch2::Catch2 Boost::boost) +# Reuse the production contracts and closure Jacobian checks in order studies +# without compiling unrelated integration suites for every field configuration. +add_executable(density_order_contract_tests EXCLUDE_FROM_ALL + tests/test_main.cpp + tests/field/field_registry.cpp + tests/field/field_mfem.cpp + tests/quadrature/policy.cpp + tests/operators/prepared_barotropic_closure.cpp) +target_link_libraries(density_order_contract_tests PRIVATE mean_field test_mod Catch2::Catch2 Boost::boost) + # A deliberately opt-in API workbench. It is compiled explicitly during API # verification but temporary user experiments do not break the default build. add_executable(sandbox EXCLUDE_FROM_ALL sandbox.cpp)