mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 21:21:10 -06:00
Add tests for sla support and pad creation
This commit is contained in:
parent
e675a5d5c6
commit
277f6786d8
20 changed files with 40057 additions and 1 deletions
|
|
@ -1,3 +1,13 @@
|
|||
# TODO Add individual tests as executables in separate directories
|
||||
# add_subirectory(<testcase>)
|
||||
|
||||
# add_subirectory(<testcase>)
|
||||
find_package(GTest REQUIRED)
|
||||
|
||||
set(TEST_DATA_DIR ${CMAKE_CURRENT_SOURCE_DIR}/data)
|
||||
file(TO_NATIVE_PATH "${TEST_DATA_DIR}" TEST_DATA_DIR)
|
||||
|
||||
add_library(test_common INTERFACE)
|
||||
target_compile_definitions(test_common INTERFACE TEST_DATA_DIR="${TEST_DATA_DIR}")
|
||||
target_link_libraries(test_common INTERFACE GTest::GTest GTest::Main)
|
||||
|
||||
add_subdirectory(sla_print)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue