mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-03 16:22:08 +00:00
28 lines
718 B
CMake
28 lines
718 B
CMake
get_filename_component(_TEST_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
|
|
add_executable(${_TEST_NAME}_tests
|
|
${_TEST_NAME}_tests.cpp
|
|
test_helpers.cpp
|
|
test_helpers.hpp
|
|
test_cooling.cpp
|
|
test_extrusion_entity.cpp
|
|
test_fill.cpp
|
|
test_flow.cpp
|
|
test_gcode_timing.cpp
|
|
test_gcodewriter.cpp
|
|
test_model.cpp
|
|
test_multifilament.cpp
|
|
test_perimeters.cpp
|
|
test_print.cpp
|
|
test_printobject.cpp
|
|
test_skirt_brim.cpp
|
|
test_slicing_pipeline_hook.cpp
|
|
test_support_material.cpp
|
|
test_trianglemesh.cpp
|
|
)
|
|
target_link_libraries(${_TEST_NAME}_tests test_common libslic3r Catch2::Catch2WithMain)
|
|
set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")
|
|
|
|
orcaslicer_copy_test_dlls()
|
|
|
|
orcaslicer_discover_tests(${_TEST_NAME}_tests)
|