Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-09-24 16:24:47 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-10-01 15:58:37 +0300
commit277f6786d835726c12f6db78d4fe71a9a7010643 (patch)
treee775776ea181979226ae8a79667d4f140b35b612 /tests/CMakeLists.txt
parente675a5d5c6022b1a75da02b38d22cf08b6bc5c6f (diff)
Add tests for sla support and pad creation
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 11bdc4b3d..06733d054 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,3 +1,13 @@
# TODO Add individual tests as executables in separate directories
+# add_subirectory(<testcase>)
-# add_subirectory(<testcase>) \ No newline at end of file
+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)