diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-04 13:59:31 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-04 13:59:31 +0300 |
commit | ce4f4bea06b3e33f903451700a15131420f7712a (patch) | |
tree | d8653b98c0b2863648f9892422d0f238e84ce612 /src/libnest2d | |
parent | 320d18f07cd05da9d82762fa1bf8539a97586778 (diff) |
libnest2d test rewritten for catch2. Fine tuned catch2 integration.
Diffstat (limited to 'src/libnest2d')
-rw-r--r-- | src/libnest2d/CMakeLists.txt | 28 |
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() |