mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 04:31:17 -07:00
Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
This commit is contained in:
parent
63faa917a9
commit
a378bb7bed
59 changed files with 197 additions and 404 deletions
|
|
@ -99,11 +99,7 @@ else()
|
|||
endif()
|
||||
add_library(XS ${XS_SHARED_LIBRARY_TYPE}
|
||||
${XS_MAIN_CPP}
|
||||
# ${LIBDIR}/libslic3r/utils.cpp
|
||||
# ${LIBDIR}/slic3r/GUI/wxPerlIface.cpp
|
||||
src/perlglue.cpp
|
||||
# src/callback.cpp
|
||||
# src/callback.hpp
|
||||
src/ppport.h
|
||||
src/xsinit.h
|
||||
xsp/my.map
|
||||
|
|
@ -119,7 +115,7 @@ if(APPLE)
|
|||
endif()
|
||||
target_link_libraries(XS libslic3r)
|
||||
|
||||
target_include_directories(XS PRIVATE src)
|
||||
target_include_directories(XS PRIVATE src ${LIBDIR}/libslic3r)
|
||||
target_compile_definitions(XS PRIVATE -DSLIC3RXS)
|
||||
set_target_properties(XS PROPERTIES PREFIX "") # Prevent cmake from generating libXS.so instead of XS.so
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue