Commit Graph

56 Commits

Author SHA1 Message Date
e3c0315865 Removed Microsoft specific _DEBUG flag from the Unix systems.
Made condional compilation of assert code based on #ifndef NDEBUG
instead of #ifdef _DEBUG to compile on Unix systems.
2019-01-30 15:27:11 +01:00
22b6382fbf Add DEBUG and _DEBUG symbols on OSX & Linux in a way the Visual Studio
does that.
2019-01-29 09:57:17 +01:00
baf609a149 Mac: Implement Retina for the 3D scene, fix #97 2019-01-24 20:03:12 +01:00
2c8bbbe136 Build: Fix deployment target on Mac #1421 2019-01-11 17:05:57 +01:00
3f7ac73eb1 Build: Add a flag to disable PCH 2019-01-11 12:49:24 +01:00
51e6f1e9c7 Fix: wxWidgets 3.0 back-compat
Fix #1599
2019-01-09 18:43:29 +01:00
628a2287d0 Merge pull request #1613 from hexane360/cmake-fixes
CMake pre-compiled header and warning fixes
2019-01-09 18:20:23 +01:00
6599170f83 Added version check for Eigen (>=3.0) 2019-01-09 10:13:34 -07:00
5bfd0c8b79 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
f97b325274 Build: Fix install targets, add SLIC3R_FHS, check resource dir on GUI_App init
Fix #1515
2019-01-07 17:25:12 +01:00
4e293f13f6 Build: Warn about non-existent CMAKE_PREFIX_PATH 2019-01-02 13:38:43 +01:00
d6e3dd4ab1 Mac OS build: Set a default SDK target, fix c/cxx flags in deps/boost 2018-12-13 18:52:03 +01:00
a64e5be975 deps: unix: Remove zlib, disable nlopt shared build 2018-12-03 17:33:56 +01:00
330dbfcb95 deps: warn that wx-config can't be moved into another location 2018-12-03 10:48:59 +01:00
1d53b81722 Deps: Windows: Fix a couple of configurations 2018-11-30 18:01:23 +01:00
96846c3837 Build: Fix ASan on OS X 2018-11-26 19:02:30 +01:00
91ac484405 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
a0bc4a8204 CMake: Add option for a syntax-only build 2018-11-20 23:05:47 +01:00
6f13fd907a Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
2018-11-19 17:58:08 +01:00
082cdee6f9 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:19:22 +01:00
4d58d53954 Added(ported) function fix_through_netfabb()
+ Fixed adding of the instances to the object list
2018-11-08 09:58:48 +01:00
87258c1fce CMake: Add ASan option 2018-11-07 17:38:08 +01:00
a2f1dfdb98 Trying to engage support creation when the gizmo gets disabled. 2018-11-06 18:01:18 +01:00
f37d1311bb Importing the SLA computing module into the native source tree. 2018-11-02 11:57:57 +01:00
a97ce278dc Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
32f942c8c3 Fixed precompiled headers compilation on GCC. 2018-10-29 17:04:27 +01:00
9fbd31f135 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
0a173dc207 Added /bigobj (Increase Number of Sections in .Obj file)
Fixed external declaration of slic3r_main()
2018-10-26 18:08:43 +02:00
77e469613f Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
811d918146 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
f6d6bba121 Fix resources dir location, add wxWidgets to Windows deps build script 2018-10-12 11:37:05 +02:00
5f656e7784 Removed SLIC3R_PRUSACONTROL switch from CMake 2018-09-27 13:47:35 +02:00
6a0b43f909 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
e357fa89ef 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
75de8e47be Moved the remaining Perl dependencies to xs/CMakeLists.txt 2018-09-21 19:37:35 +02:00
4541afbbc8 Added C++ command line processing, thanks @alexrj and @loh 2018-09-20 16:48:13 +02:00
a022b721f3 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
bc1ff442ff Fixed compilation on OSX & Linux 2018-09-19 13:12:57 +02:00
8abfbc2322 Disabling calls from libslic3r to slic3r gui. 2018-09-19 11:27:04 +02:00
1260b8deb3 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
d4c2cf99e3 Build: Option to force generation of PDB file on MSVC Release build 2018-08-17 15:20:58 +02:00
4f0e3482f7 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
f11dd98cc4 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
68743a7b80 Initial working implementation of the "Fix by Netfabb" function. 2018-06-04 21:22:42 +02:00
90743f0236 Working arrange_objects with DJD selection heuristic and a bottom-left placement strategy. 2018-05-17 10:37:26 +02:00
87f9225d4a 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
5812ca06d6 Fixed ctest on Windows (should call Perl's prove.bat, not just prove) 2018-03-14 18:09:31 +01:00
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
751e86cd4d libcurl linking and cmake usage improvements 2018-03-05 16:31:24 +01:00
ff4e8d94c0 CMake build process: Workaround for an old CMake on Linux. 2017-08-28 23:11:43 +02:00