Properly integrate manifold_test into ctest (#1520)

* Properly integrate manifold_test into ctest

* Allegedly on Windows, exe and dll should be in the same place

* Just make it work Linux/Mac
This commit is contained in:
coryrc
2026-02-07 10:59:22 +13:00
committed by GitHub
parent cbcf7dc0c8
commit 497cfb5d0b
+7 -1
View File
@@ -61,7 +61,13 @@ endif()
target_compile_options(manifold_test PRIVATE ${MANIFOLD_FLAGS})
exportbin(manifold_test)
add_test(NAME manifold_test COMMAND manifold_test)
if(WIN32)
# If you want to fix the DLL availability at build time, be my guest.
add_test(NAME manifold_test COMMAND manifold_test)
else()
# *nix users get the tests individually broken out!
gtest_discover_tests(manifold_test)
endif()
if(MANIFOLD_FUZZ)
fuzztest_setup_fuzzing_flags()