mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
Initial implementation of a CMake build system for the Slic3r XS module.
Based on https://github.com/CReimer/Slic3r/tree/makefile_pr Big thanks to @CReimer for his huge effort.
This commit is contained in:
1 parent
507f2ff45e
commit
5673205d2e
8 files changed
+716
-2
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
#include <libslic3r/GCodeSender.hpp>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
#include "ppport.h"
|
||||
#undef do_open
|
||||
#undef do_close
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef XS_EXTERNAL
|
||||
#define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
|
||||
#endif /* MSVC */
|
||||
|
||||
MODULE = Slic3r::XS PACKAGE = Slic3r::XS
|
||||
|
||||
@INCLUDE_COMMANDS@
|
||||
Reference in new issue
Block a user