Ported test_data.cpp/hpp & test_flow.cpp from upstream slic3r,

thanks @lordofhyphens
This commit is contained in:
bubnikv 2019-10-15 11:28:20 +02:00
parent e538a06fb0
commit 67e1eba8e6
5 changed files with 582 additions and 12 deletions

View file

@ -1,5 +1,10 @@
get_filename_component(_TEST_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
add_executable(${_TEST_NAME}_tests ${_TEST_NAME}_tests.cpp)
add_executable(${_TEST_NAME}_tests
${_TEST_NAME}_tests.cpp
test_data.cpp
test_data.hpp
test_flow.cpp
)
target_link_libraries(${_TEST_NAME}_tests test_common libslic3r)
set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")