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:
+7
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user