Commit Graph

51 Commits

Author SHA1 Message Date
Vojtech Kral
cde0aa4443 Fix: wxWidgets 3.0 back-compat
Fix #1599
2019-01-09 18:43:29 +01:00
Vojtech Kral
5aec48418a
Merge pull request #1613 from hexane360/cmake-fixes
CMake pre-compiled header and warning fixes
2019-01-09 18:20:23 +01:00
hexane360
d681eef10e Added version check for Eigen (>=3.0) 2019-01-09 10:13:34 -07:00
hexane360
b406eeb240 Fixed several warnings on Linux
-isolated C++-only options on newer CMake
-Removed warning for ignored-attributes on Clang and GCC
2019-01-07 16:59:09 -07:00
Vojtech Kral
8bc8dfaba4 Build: Fix install targets, add SLIC3R_FHS, check resource dir on GUI_App init
Fix #1515
2019-01-07 17:25:12 +01:00
Vojtech Kral
f8b83d20d3 Build: Warn about non-existent CMAKE_PREFIX_PATH 2019-01-02 13:38:43 +01:00
Vojtech Kral
f3e238073b Mac OS build: Set a default SDK target, fix c/cxx flags in deps/boost 2018-12-13 18:52:03 +01:00
Vojtech Kral
930f8c13c1 deps: unix: Remove zlib, disable nlopt shared build 2018-12-03 17:33:56 +01:00
Vojtech Kral
2bdb86c7ed deps: warn that wx-config can't be moved into another location 2018-12-03 10:48:59 +01:00
Vojtech Kral
138c98b5ec Deps: Windows: Fix a couple of configurations 2018-11-30 18:01:23 +01:00
Vojtech Kral
9a20578daf Build: Fix ASan on OS X 2018-11-26 19:02:30 +01:00
bubnikv
a378bb7bed 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}
2018-11-26 14:41:58 +01:00
Vojtech Kral
4cb5c2a21b CMake: Add option for a syntax-only build 2018-11-20 23:05:47 +01:00
tamasmeszaros
87d49cf82f Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
2018-11-19 17:58:08 +01:00
tamasmeszaros
4662fd0e73 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:19:22 +01:00
YuSanka
2c0b784a2d Added(ported) function fix_through_netfabb()
+ Fixed adding of the instances to the object list
2018-11-08 09:58:48 +01:00
Vojtech Kral
8c4fa9ba51 CMake: Add ASan option 2018-11-07 17:38:08 +01:00
tamasmeszaros
22c9c5ae95 Trying to engage support creation when the gizmo gets disabled. 2018-11-06 18:01:18 +01:00
tamasmeszaros
48bc166d6d Importing the SLA computing module into the native source tree. 2018-11-02 11:57:57 +01:00
bubnikv
75c097010d Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
bubnikv
6539c54f23 Fixed precompiled headers compilation on GCC. 2018-10-29 17:04:27 +01:00
bubnikv
5377304b0c Precompiled headers on Visual Studio & GCC, with the highest hopes
that it will not break the build server.
2018-10-29 16:01:26 +01:00
bubnikv
de55a60bf5 Added /bigobj (Increase Number of Sections in .Obj file)
Fixed external declaration of slic3r_main()
2018-10-26 18:08:43 +02:00
bubnikv
0799ca2099 Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
Vojtech Kral
0b0e65636f Build improvements: symlink resources properly with Visual Studio
Convert dependencies into a CMake build script in the `deps` dir
2018-10-15 16:47:15 +02:00
Vojtech Kral
d843f1a76f Fix resources dir location, add wxWidgets to Windows deps build script 2018-10-12 11:37:05 +02:00
bubnikv
746d06fe3e Removed SLIC3R_PRUSACONTROL switch from CMake 2018-09-27 13:47:35 +02:00
bubnikv
96e035b2f8 Added various manifests,
added auto generation of includes and manifests from version and build
variables,
resurrected SLIC3R_LOGLEVEL env var.
2018-09-24 11:53:05 +02:00
bubnikv
49c3d59897 Further reduction of Perl dependencies. Now the Perl dependencies
only influence the XS project (and the unit / integration tests).
2018-09-21 20:11:33 +02:00
bubnikv
8e1b5157b4 Moved the remaining Perl dependencies to xs/CMakeLists.txt 2018-09-21 19:37:35 +02:00
bubnikv
add45a8f6e Added C++ command line processing, thanks @alexrj and @loh 2018-09-20 16:48:13 +02:00
bubnikv
6003005812 Removed dependency on wxWidgets from Alien.
Updated source code to wxWidgets 3.1.1
Moved invocation of perl unit / integration tests to the xs project.
2018-09-19 17:19:06 +02:00
bubnikv
58a0c41713 Fixed compilation on OSX & Linux 2018-09-19 13:12:57 +02:00
bubnikv
6bd92a8198 Disabling calls from libslic3r to slic3r gui. 2018-09-19 11:27:04 +02:00
bubnikv
0558b53493 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00
Vojtech Kral
7be24414f3 Build: Option to force generation of PDB file on MSVC Release build 2018-08-17 15:20:58 +02:00
Vojtech Kral
267712eb32 Build: Plumb perl include path
Thanks to @kortschak for contributing to this fix
Co-authored-by: Dan Kortschak <dan@kortschak.io>
2018-08-17 15:20:58 +02:00
tamasmeszaros
85474e5803 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d
# Conflicts:
#	CMakeLists.txt
#	lib/Slic3r/GUI/MainFrame.pm
2018-06-28 18:50:39 +02:00
bubnikv
d05d3cb652 Initial working implementation of the "Fix by Netfabb" function. 2018-06-04 21:22:42 +02:00
tamasmeszaros
fd829580e9 Working arrange_objects with DJD selection heuristic and a bottom-left placement strategy. 2018-05-17 10:37:26 +02:00
bubnikv
19977edae2 Removed the "Broken croak" support, which was useful on broken
64bit Strawberry perl only. We don't use Strawberry perl anymore,
so this has been removed for clarity.

Added a PerlCallback wrapper to call a Perl subroutine from a C++ code.
2018-05-03 21:45:43 +02:00
bubnikv
5812ca06d6 Fixed ctest on Windows (should call Perl's prove.bat, not just prove) 2018-03-14 18:09:31 +01:00
Vojtech Kral
58788ef43a MSVC: Fix run and debug project settings (#771)
* MSVC: Fix run and debug project settings

* MSVC: Fix CMake infinite loop
2018-03-12 09:39:32 +01:00
Vojtech Kral
751e86cd4d libcurl linking and cmake usage improvements 2018-03-05 16:31:24 +01:00
bubnikv
ff4e8d94c0 CMake build process: Workaround for an old CMake on Linux. 2017-08-28 23:11:43 +02:00
bubnikv
0cb491e135 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.
2017-08-28 19:11:16 +02:00
Vojtech Bubnik
81e2c6f2db CMake build system: Made the Release build default 2017-08-18 14:18:27 -07:00
Vojtech Bubnik
952ca18bf9 Modified to compile on Ubuntu 2017-08-17 19:43:14 +02:00
bubnikv
c0f099c2cf CMake conversion, further steps: Now it compiles on Visual Studio 2013. 2017-08-17 18:27:51 +02:00
bubnikv
bb36e78428 Further CMake integration, split the xs CMakeFiles.txt to
FindAlienWx.cmake and FindPerlEmbed.cmake for easier Perl integration.
2017-08-17 13:30:46 +02:00