mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 14:55:08 -06:00
Refactoring to Model API for making it stricter and safer
This commit is contained in:
parent
bc023c2d51
commit
7ba08c90cf
17 changed files with 316 additions and 317 deletions
|
@ -11,7 +11,8 @@ use Module::Build::WithXSpp;
|
|||
# NOGDI : prevents inclusion of wingdi.h which defines functions Polygon() and Polyline() in global namespace
|
||||
my @cflags = qw(-D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS);
|
||||
if ($ENV{SLIC3R_DEBUG}) {
|
||||
push @cflags, qw(-DSLIC3R_DEBUG -g -ftemplate-backtrace-limit=0);
|
||||
# only on newer GCCs: -ftemplate-backtrace-limit=0
|
||||
push @cflags, qw(-DSLIC3R_DEBUG -g);
|
||||
}
|
||||
if (ExtUtils::CppGuess->new->is_gcc) {
|
||||
# check whether we're dealing with a buggy GCC version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue