diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2018-11-02 13:57:57 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2018-11-02 13:57:57 +0300 |
commit | 48bc166d6d1ee257fc9f0d540ab2c349091fc900 (patch) | |
tree | 38b01f6985220e112b463313c100b5236e0dc633 /CMakeLists.txt | |
parent | 93ef2de6678d4aca9b7b507d35c5854239195643 (diff) |
Importing the SLA computing module into the native source tree.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0656b824e..2e1b6331e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,10 @@ option(SLIC3R_MSVC_COMPILE_PARALLEL "Compile on Visual Studio in parallel" 1) option(SLIC3R_MSVC_PDB "Generate PDB files on MSVC in Release mode" 1) option(SLIC3R_PERL_XS "Compile XS Perl module and enable Perl unit and integration tests" 0) +# Proposal for C++ unit tests and sandboxes +option(SLIC3R_BUILD_SANDBOXES "Build development sandboxes" OFF) +option(SLIC3R_BUILD_TESTS "Build unit tests" OFF) + if (MSVC) if (SLIC3R_MSVC_COMPILE_PARALLEL) add_compile_options(/MP) @@ -244,5 +248,13 @@ if (SLIC3R_PERL_XS) add_subdirectory(xs) endif () +if(SLIC3R_BUILD_SANDBOXES) + add_subdirectory(sandboxes) +endif() + +if(SLIC3R_BUILD_TESTS) + add_subdirectory(tests) +endif() + file(GLOB MyVar var/*.png) install(FILES ${MyVar} DESTINATION share/slic3r-prusa3d) |