mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
3mf Importer - Added miniz library
This commit is contained in:
parent
6591620200
commit
893201d3d9
10 changed files with 8839 additions and 2 deletions
|
@ -189,6 +189,18 @@ add_library(admesh STATIC
|
|||
${LIBDIR}/admesh/util.cpp
|
||||
)
|
||||
|
||||
add_library(miniz STATIC
|
||||
${LIBDIR}/miniz/miniz.h
|
||||
${LIBDIR}/miniz/miniz_common.h
|
||||
${LIBDIR}/miniz/miniz_tdef.h
|
||||
${LIBDIR}/miniz/miniz_tinfl.h
|
||||
${LIBDIR}/miniz/miniz_zip.h
|
||||
${LIBDIR}/miniz/miniz.cpp
|
||||
${LIBDIR}/miniz/miniz_tdef.cpp
|
||||
${LIBDIR}/miniz/miniz_tinfl.cpp
|
||||
${LIBDIR}/miniz/miniz_zip.cpp
|
||||
)
|
||||
|
||||
add_library(clipper STATIC
|
||||
${LIBDIR}/clipper.cpp
|
||||
${LIBDIR}/clipper.hpp
|
||||
|
@ -348,7 +360,7 @@ if(APPLE)
|
|||
# Ignore undefined symbols of the perl interpreter, they will be found in the caller image.
|
||||
target_link_libraries(XS "-undefined dynamic_lookup")
|
||||
endif()
|
||||
target_link_libraries(XS libslic3r libslic3r_gui admesh clipper nowide polypartition poly2tri)
|
||||
target_link_libraries(XS libslic3r libslic3r_gui admesh miniz clipper nowide polypartition poly2tri)
|
||||
if(SLIC3R_PROFILE)
|
||||
target_link_libraries(XS Shiny)
|
||||
endif()
|
||||
|
@ -551,7 +563,7 @@ endif()
|
|||
# Create a slic3r executable
|
||||
add_executable(slic3r ${PROJECT_SOURCE_DIR}/src/slic3r.cpp)
|
||||
target_include_directories(XS PRIVATE src src/libslic3r)
|
||||
target_link_libraries(slic3r libslic3r libslic3r_gui admesh ${Boost_LIBRARIES} clipper ${EXPAT_LIBRARIES} ${GLEW_LIBRARIES} polypartition poly2tri ${TBB_LIBRARIES} ${wxWidgets_LIBRARIES})
|
||||
target_link_libraries(slic3r libslic3r libslic3r_gui admesh miniz ${Boost_LIBRARIES} clipper ${EXPAT_LIBRARIES} ${GLEW_LIBRARIES} polypartition poly2tri ${TBB_LIBRARIES} ${wxWidgets_LIBRARIES})
|
||||
if(SLIC3R_PROFILE)
|
||||
target_link_libraries(Shiny)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue