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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-08-28 20:11:16 +0300
committerbubnikv <bubnikv@gmail.com>2017-08-28 20:11:16 +0300
commit0cb491e13522e8d5847354c57bd6568e534ee733 (patch)
treea7895c95537bff4e05b0f24a40eabd9321bd206f /cmake
parentcf2f29a5f11a13e436e8a10ed04894818f438270 (diff)
CMake build process:
Added the "test" target to execute the perl prove unit / integration tests. Added a post-build step to copy the XS.dll & Slic3r/XS.pm to local-lib.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindPerlEmbed.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/FindPerlEmbed.cmake b/cmake/modules/FindPerlEmbed.cmake
index c005980be..b12fc4063 100644
--- a/cmake/modules/FindPerlEmbed.cmake
+++ b/cmake/modules/FindPerlEmbed.cmake
@@ -46,6 +46,7 @@ sub cmake_set_var {
my @words = shellwords(\$content);
print \$fh \"set(PerlEmbed_\$varname \\\"\" . join(';', @words) . \"\\\")\\n\";
}
+cmake_set_var('ARCHNAME', \$Config{archname});
cmake_set_var('CCFLAGS', \$ccflags);
\$ldflags =~ s/ -L/ -LIBPATH:/g if \$msvc;
cmake_set_var('LD', \$Config{ld});
@@ -72,6 +73,7 @@ if (PerlEmbed_DEBUG)
message(STATUS " PERL_PRIVLIB = ${PERL_PRIVLIB}")
message(STATUS " PERL_EXTRA_C_FLAGS = ${PERL_EXTRA_C_FLAGS}")
# Second show the configuration extracted by this module (FindPerlEmbed):
+ message(STATUS " PerlEmbed_ARCHNAME = ${PerlEmbed_ARCHNAME}")
message(STATUS " PerlEmbed_CCFLAGS = ${PerlEmbed_CCFLAGS}")
message(STATUS " PerlEmbed_CCCDLFLAGS = ${PerlEmbed_CCCDLFLAGS}")
message(STATUS " LD = ${PerlEmbed_LD}")