Commit Graph

56 Commits

Author SHA1 Message Date
eec289961a 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
c4bc45cff4 Add DEBUG and _DEBUG symbols on OSX & Linux in a way the Visual Studio
does that.
2019-01-29 09:57:17 +01:00
d1c569dd57 Mac: Implement Retina for the 3D scene, fix #97 2019-01-24 20:03:12 +01:00
c63aff6dda Build: Fix deployment target on Mac #1421 2019-01-11 17:05:57 +01:00
6db40feace Build: Add a flag to disable PCH 2019-01-11 12:49:24 +01:00
cde0aa4443 Fix: wxWidgets 3.0 back-compat
Fix #1599
2019-01-09 18:43:29 +01:00
5aec48418a Merge pull request #1613 from hexane360/cmake-fixes
CMake pre-compiled header and warning fixes
2019-01-09 18:20:23 +01:00
d681eef10e Added version check for Eigen (>=3.0) 2019-01-09 10:13:34 -07:00
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
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
f8b83d20d3 Build: Warn about non-existent CMAKE_PREFIX_PATH 2019-01-02 13:38:43 +01:00
f3e238073b Mac OS build: Set a default SDK target, fix c/cxx flags in deps/boost 2018-12-13 18:52:03 +01:00
930f8c13c1 deps: unix: Remove zlib, disable nlopt shared build 2018-12-03 17:33:56 +01:00
2bdb86c7ed deps: warn that wx-config can't be moved into another location 2018-12-03 10:48:59 +01:00
138c98b5ec Deps: Windows: Fix a couple of configurations 2018-11-30 18:01:23 +01:00
9a20578daf Build: Fix ASan on OS X 2018-11-26 19:02:30 +01:00
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
4cb5c2a21b CMake: Add option for a syntax-only build 2018-11-20 23:05:47 +01:00
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
4662fd0e73 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-08 16:19:22 +01:00
2c0b784a2d Added(ported) function fix_through_netfabb()
+ Fixed adding of the instances to the object list
2018-11-08 09:58:48 +01:00
8c4fa9ba51 CMake: Add ASan option 2018-11-07 17:38:08 +01:00
22c9c5ae95 Trying to engage support creation when the gizmo gets disabled. 2018-11-06 18:01:18 +01:00
48bc166d6d Importing the SLA computing module into the native source tree. 2018-11-02 11:57:57 +01:00
75c097010d Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
6539c54f23 Fixed precompiled headers compilation on GCC. 2018-10-29 17:04:27 +01:00
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
de55a60bf5 Added /bigobj (Increase Number of Sections in .Obj file)
Fixed external declaration of slic3r_main()
2018-10-26 18:08:43 +02:00
0799ca2099 Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
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
d843f1a76f Fix resources dir location, add wxWidgets to Windows deps build script 2018-10-12 11:37:05 +02:00
746d06fe3e Removed SLIC3R_PRUSACONTROL switch from CMake 2018-09-27 13:47:35 +02:00
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
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
8e1b5157b4 Moved the remaining Perl dependencies to xs/CMakeLists.txt 2018-09-21 19:37:35 +02:00
add45a8f6e Added C++ command line processing, thanks @alexrj and @loh 2018-09-20 16:48:13 +02:00
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
58a0c41713 Fixed compilation on OSX & Linux 2018-09-19 13:12:57 +02:00
6bd92a8198 Disabling calls from libslic3r to slic3r gui. 2018-09-19 11:27:04 +02:00
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
7be24414f3 Build: Option to force generation of PDB file on MSVC Release build 2018-08-17 15:20:58 +02:00
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
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
d05d3cb652 Initial working implementation of the "Fix by Netfabb" function. 2018-06-04 21:22:42 +02:00
fd829580e9 Working arrange_objects with DJD selection heuristic and a bottom-left placement strategy. 2018-05-17 10:37:26 +02:00
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
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