diff options
author | bubnikv <bubnikv@gmail.com> | 2019-05-13 16:14:33 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-05-13 16:14:33 +0300 |
commit | a3c1ef509c5cc872f8e1a58f3df4f6235cfa603b (patch) | |
tree | ac38d141ed699a052cb9e06517039af31192ebec /CMakeLists.txt | |
parent | ee2b8ced163f96541a0cf200a652ccd3731b7807 (diff) |
Further renaming to PrusaSlicer
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 346d2cf4a..5d2c0f655 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -project(Slic3r) +project(PrusaSlicer) cmake_minimum_required(VERSION 3.2) include("version.inc") @@ -22,11 +22,11 @@ else() endif() endif() -option(SLIC3R_STATIC "Compile Slic3r with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL}) -option(SLIC3R_GUI "Compile Slic3r with GUI components (OpenGL, wxWidgets)" 1) -option(SLIC3R_FHS "Assume Slic3r is to be installed in a FHS directory structure" 0) +option(SLIC3R_STATIC "Compile PrusaSlicer with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL}) +option(SLIC3R_GUI "Compile PrusaSlicer with GUI components (OpenGL, wxWidgets)" 1) +option(SLIC3R_FHS "Assume PrusaSlicer is to be installed in a FHS directory structure" 0) option(SLIC3R_WX_STABLE "Build against wxWidgets stable (3.0) as oppsed to dev (3.1) on Linux" 0) -option(SLIC3R_PROFILE "Compile Slic3r with an invasive Shiny profiler" 0) +option(SLIC3R_PROFILE "Compile PrusaSlicer with an invasive Shiny profiler" 0) option(SLIC3R_PCH "Use precompiled headers" 1) 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) @@ -207,13 +207,13 @@ endif() add_definitions(-DwxUSE_UNICODE -D_UNICODE -DUNICODE -DWXINTL_NO_GETTEXT_MACRO) if (SLIC3R_PROFILE) - message("Slic3r will be built with a Shiny invasive profiler") + message("PrusaSlicer will be built with a Shiny invasive profiler") add_definitions(-DSLIC3R_PROFILE) endif () # Disable optimization even with debugging on. if (0) - message(STATUS "Perl compiled without optimization. Disabling optimization for the Slic3r build.") + message(STATUS "Perl compiled without optimization. Disabling optimization for the PrusaSlicer build.") message("Old CMAKE_CXX_FLAGS_RELEASE: ${CMAKE_CXX_FLAGS_RELEASE}") message("Old CMAKE_CXX_FLAGS_RELWITHDEBINFO: ${CMAKE_CXX_FLAGS_RELEASE}") message("Old CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS_RELEASE}") @@ -336,9 +336,9 @@ add_custom_target(pot COMMENT "Generate pot file from strings in the source tree" ) -# libslic3r, Slic3r GUI and the slic3r executable. +# libslic3r, PrusaSlicer GUI and the PrusaSlicer executable. add_subdirectory(src) -set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT slic3r_app_console) +set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT PrusaSlicer_app_console) # Perl bindings, currently only used for the unit / integration tests of libslic3r. # Also runs the unit / integration tests. @@ -360,7 +360,7 @@ endif() if (WIN32) install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/resources") else () - set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/slic3r-prusa3d") + set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/PrusaSlicer") install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${SLIC3R_FHS_RESOURCES}") endif () configure_file(${LIBDIR}/platform/unix/fhs.hpp.in ${LIBDIR_BIN}/platform/unix/fhs.hpp) |