Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-03-03 01:36:20 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-03-03 01:36:20 +0400
commiteadffe4a9ea2c8ab9784bfc6c03b21b413a4c5dc (patch)
tree0d07ba757991006219334127f20d522a7856ea16 /Build.PL
parentbc832f1a6d418bdd15781aac6839a796396b8564 (diff)
parentbc44611f241a5f1d7ab66f14ffc0b1f3d563fc59 (diff)
Merge branch 'master' into boost-medialaxis
Conflicts: lib/Slic3r/Layer/Region.pm xs/src/ExPolygon.cpp xs/src/Point.cpp xs/src/Point.hpp xs/src/TriangleMesh.cpp xs/t/01_trianglemesh.t
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build.PL b/Build.PL
index 26c6f6f9b..ca98b89cb 100644
--- a/Build.PL
+++ b/Build.PL
@@ -17,7 +17,6 @@ my %prereqs = qw(
Module::Build::WithXSpp 0.14
Moo 1.003001
Scalar::Util 0
- Storable 0
Test::Harness 0
Test::More 0
IO::Scalar 0
@@ -28,7 +27,8 @@ my %recommends = qw(
XML::SAX::ExpatXS 0
);
-my $gui = defined $ARGV[0] && $ARGV[0] eq '--gui';
+my $gui = grep { $_ eq '--gui' } @ARGV;
+my $xs_only = grep { $_ eq '--xs' } @ARGV;
if ($gui) {
%prereqs = qw(
Wx 0.9918
@@ -38,6 +38,8 @@ if ($gui) {
Wx::GLCanvas 0
OpenGL 0
);
+} elsif ($xs_only) {
+ %prereqs = %recommends = ();
}
my @missing_prereqs = ();
@@ -124,9 +126,7 @@ EOF
# with current perl binary
if (-e './xs/Build') {
if ($^O eq 'MSWin32') {
- system 'cd', 'xs';
- system 'Build', 'distclean';
- system 'cd', '..';
+ system '.\xs\Build', 'distclean';
} else {
system './xs/Build', 'distclean';
}