The basic tests now run on Windows correctly without needing to manually copy any files -- the executables are output in the same location as the necessary DLLs. However, tests that require *.pyd files (all code in the Mod subdirectory, basically) still do not work on Windows as the test executables cannot find those files. This is a work in progress.
19 lines
329 B
CMake
19 lines
329 B
CMake
add_executable(Zipios_tests_run
|
|
collectioncollection.cpp
|
|
zipfile.cpp
|
|
)
|
|
|
|
|
|
target_link_libraries(Zipios_tests_run PRIVATE
|
|
GTest::gtest_main
|
|
GTest::gmock_main
|
|
${Google_Tests_LIBS}
|
|
FreeCADApp
|
|
)
|
|
|
|
target_include_directories(
|
|
Zipios_tests_run PRIVATE
|
|
${ZIPIOS_INCLUDES}
|
|
${ZLIB_INCLUDE_DIR}
|
|
)
|