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.
41 lines
823 B
CMake
41 lines
823 B
CMake
add_executable(Base_tests_run
|
|
Axis.cpp
|
|
Base64.cpp
|
|
Bitmask.cpp
|
|
BoundBox.cpp
|
|
Builder3D.cpp
|
|
Color.cpp
|
|
CoordinateSystem.cpp
|
|
DualNumber.cpp
|
|
DualQuaternion.cpp
|
|
Handle.cpp
|
|
Matrix.cpp
|
|
Parameter.cpp
|
|
Placement.cpp
|
|
Quantity.cpp
|
|
Reader.cpp
|
|
Rotation.cpp
|
|
SchemaTests.cpp
|
|
ServiceProvider.cpp
|
|
Stream.cpp
|
|
TimeInfo.cpp
|
|
Tools.cpp
|
|
Tools2D.cpp
|
|
Tools3D.cpp
|
|
UnlimitedUnsigned.cpp
|
|
UniqueNameManager.cpp
|
|
Unit.cpp
|
|
Vector3D.cpp
|
|
ViewProj.cpp
|
|
Writer.cpp
|
|
)
|
|
|
|
setup_qt_test(InventorBuilder)
|
|
|
|
target_link_libraries(Base_tests_run PRIVATE
|
|
GTest::gtest_main
|
|
GTest::gmock_main
|
|
${Google_Tests_LIBS}
|
|
FreeCADApp
|
|
)
|