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
path: root/src
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-10-04 15:23:19 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-10-04 15:23:19 +0300
commit5ca962a1da930043fe1d9d8cbb53c4351461bdc8 (patch)
treeb4436fca81f0b13b36ee03b43eba5455763e092e /src
parent2edd5abf06a61d802c115aeceddb9a2a3788494b (diff)
Catch2 test framework integration into tm_sla_tests.
Diffstat (limited to 'src')
-rw-r--r--src/libnest2d/CMakeLists.txt28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/libnest2d/CMakeLists.txt b/src/libnest2d/CMakeLists.txt
index 587b814b2..0d091c171 100644
--- a/src/libnest2d/CMakeLists.txt
+++ b/src/libnest2d/CMakeLists.txt
@@ -13,11 +13,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED)
# Add our own cmake module path.
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules/)
-option(LIBNEST2D_UNITTESTS "If enabled, googletest framework will be downloaded
- and the provided unit tests will be included in the build." OFF)
-
-option(LIBNEST2D_BUILD_EXAMPLES "If enabled, examples will be built." OFF)
-
option(LIBNEST2D_HEADER_ONLY "If enabled static library will not be built." ON)
set(GEOMETRY_BACKENDS clipper boost eigen)
@@ -109,26 +104,3 @@ if(NOT LIBNEST2D_HEADER_ONLY)
target_link_libraries(${LIBNAME} PUBLIC libnest2d)
target_compile_definitions(${LIBNAME} PUBLIC LIBNEST2D_STATIC)
endif()
-
-if(LIBNEST2D_BUILD_EXAMPLES)
-
- add_executable(example examples/main.cpp
- # tools/libnfpglue.hpp
- # tools/libnfpglue.cpp
- tools/nfp_svgnest.hpp
- tools/nfp_svgnest_glue.hpp
- tools/svgtools.hpp
- tests/printer_parts.cpp
- tests/printer_parts.h
- )
-
- if(NOT LIBNEST2D_HEADER_ONLY)
- target_link_libraries(example ${LIBNAME})
- else()
- target_link_libraries(example libnest2d)
- endif()
-endif()
-
-if(LIBNEST2D_UNITTESTS)
- add_subdirectory(${PROJECT_SOURCE_DIR}/tests)
-endif()