tamasmeszaros
5e4c4a689c
According to cmake, minimum required call shall go before project().
...
BTW This will make boost config detect the right toolset on every platform.
2019-11-25 10:56:50 +01:00
tamasmeszaros
7011c58faa
Merge branch 'master' into lm_tm_hollowing
2019-11-18 17:50:56 +01:00
Enrico Turri
46601f7e1e
Added missing boost libraries into CMakeLists.txt
2019-11-12 12:05:13 +01:00
tamasmeszaros
dfa4a58dc6
Bump up C++ to 14
2019-11-12 10:28:00 +01:00
Lukas Matena
7542580ac1
Merge branch 'tm_openvdb_integration' into lm_hollow_gizmo
2019-11-05 11:16:51 +01:00
Vojtech Kral
add2b34d06
build: Fix linking on Mac OS with ASAN on
2019-11-01 10:11:50 +01:00
tamasmeszaros
d63ae1c608
Simple openvdb conversion test.
2019-10-29 16:27:53 +01:00
tamasmeszaros
1cc7bd9976
Fix openvdb dependency in libslic3r
2019-10-25 15:48:01 +02:00
tamasmeszaros
5c0cd06f2f
Completely disable openvdb for now
2019-10-25 13:38:18 +02:00
tamasmeszaros
bcc2c21d5f
Disable OpenVDB until deps get updated
2019-10-25 13:23:05 +02:00
tamasmeszaros
deda712e20
Merge branch 'tm_openvdb_integration'
2019-10-25 13:16:26 +02:00
tamasmeszaros
4554da29ab
Add OpenVDB to dependencies
...
* Add Linux openvdb integration
* Add Mac openvdb integration and enable in ALL
* Create openvdb sandbox to test integration.
* Additional fixes in the patches
* Remove slabasebed sandbox as it has no relevance now
* Provide FindOpenVDB module and fix build issues
2019-10-25 13:15:21 +02:00
tamasmeszaros
eee20e23e1
Fix RelWithDebInfo build on Linux
2019-10-24 17:32:58 +02:00
tamasmeszaros
d481feda13
Fix for unsupported cmake feature
2019-10-23 16:26:28 +02:00
tamasmeszaros
8961e68f5e
another cleanup
2019-10-22 17:04:32 +02:00
tamasmeszaros
7f0c4fafe6
Remove cmake debug messages
2019-10-22 16:42:40 +02:00
tamasmeszaros
9f9a40100f
Solve build fail in RelWithDebInfo config with several imported targets.
2019-10-22 16:32:57 +02:00
Lukas Matena
fb7bba2b5a
CMakeLists.txt: turning off -W-ignored-attributes, there are loads of those with newer GCC, originating from Eigen ( https://eigen.tuxfamily.org/bz/show_bug.cgi?id=1221 )
2019-10-17 09:56:38 +02:00
Lukas Matena
605f0ecd54
Revert "CMakeLists.txt: turning off Wno-ignored-attributes on GCC and Clang again"
...
That change breaks compilation on the old buildserver (gcc 5.4). We'll deal with the warning later somehow.
This reverts commit 50448bf4dd
.
2019-10-16 12:53:25 +02:00
Lukas Matena
50448bf4dd
CMakeLists.txt: turning off Wno-ignored-attributes on GCC and Clang again
...
Eigen still produces tons of those warnings on newer gcc
2019-10-15 15:10:52 +02:00
tamasmeszaros
fbc174ad06
Fix cmake with msvc generator.
...
* Remove unused libnest2d files. Make it use the global build script targets.
* Modify FindTBB to address multi-config builds and take care of __TBB_NO_IMPLICIT_LINKAGE
* Move FindNLopt to project common cmake module dir
* Rename libnest.hpp to nester.hpp and libnest.h to libnest.hpp
* Clean up common test suite build scripts
2019-10-14 12:50:08 +02:00
tamasmeszaros
d5dcba00b1
Time conversion functions with tests.
...
Fixes issue with incorrect characters in time strings on UI.
Fix platform dependency
Fix return value with incorrect strings.
Just use strptime and strftime on all platforms.
Emulate strptime on msvc... because they don't have it and their get_time is buggy.
2019-10-02 14:44:11 +02:00
Vojtech Kral
bc6bb85d65
Merge pull request #2646 from labsin/no_FHS_build
...
Only set SLIC3R_FHS_RESOURCES when SLIC3R_FHS is set
2019-09-02 12:16:15 +02:00
bubnikv
8865c4b685
Plurals for number of Undo / Redo actions.
2019-08-28 16:19:46 +02:00
bubnikv
cd35fd9b34
Refreshed the dictionaries.
...
Introduced a new localization macro L_CONTEXT(string, context)
to define context dependent translations.
The only strings - "Top" and "Bottom" were already using context, but
until now the context had to be added to the PrusaSlicer.pot file
manually, while the context is being generated automatically now.
2019-08-27 17:14:03 +02:00
tamasmeszaros
7e0199746e
more clang warnings enabled, performance measuring
...
Succesfull build on mingw-w64
fix sandboxes
Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
tamasmeszaros
7d25d8c677
Can build with (original llvm) clang-cl on windows
2019-08-01 16:03:52 +02:00
Vojtech Kral
26c2b16f61
Build: Remove SLIC3R_SYNTAXONLY
2019-07-26 14:27:37 +02:00
Lukas Matena
0a5f8aa2e8
An attempt to silence the Wreorder warning on OSX build server
...
Clang apparently cares about order of command line arguments, so -Wall should come before -Wno-whatever
2019-07-23 15:13:47 +02:00
Lukas Matena
91a5d70a62
Fixed a few warnings in headers (meaning they were reported once for each include)
...
Fixed an identification of CXX compiler in cmake so that 'AppleClang' is recognized
2019-07-23 14:02:20 +02:00
Yuri D'Elia
77c3d2fbb3
Use system Eigen3 on linux when found
2019-07-22 14:53:51 +02:00
Sam Segers
b5ff4bbb52
Only set SLIC3R_FHS_RESOURCES when SLIC3R_FHS is set
...
This makes it possible to run slic3r in a temporary direction
with
make DESTDIR="run" install
2019-07-16 23:12:07 +02:00
Lukas Matena
004e2719b1
Merge branch 'master' into lm_warnings
2019-07-15 13:26:55 +02:00
bubnikv
a710e7e7e4
WIP: Undo / Redo stack.
...
Integration of the "cereal" serialization library.
Serialization / deserialization of the DynamicConfig / DynamicPrintConfig.
DynamicPrintConfig serializes ordinal identifiers instead
of the option key strings to conserve space.
2019-06-26 13:26:49 +02:00
Lukas Matena
471331e8c1
CMake: -Wignored-attributes is not supported in GCC<6.1
...
-turned off -Wunknown-pragmas for GCC
2019-06-25 16:04:24 +02:00
tamasmeszaros
2ae2672ee9
Building igl statically and moving to the dep scripts
...
Fixing dep build script on Windows and removing some warnings.
Use bundled igl by default.
Not building with the dependency scripts if not explicitly stated. This way, it will stay in
Fix the libigl patch to include C source files in header only mode.
2019-06-19 14:52:55 +02:00
bubnikv
c95a324c3f
Merge branch 'vb_admesh_fix'
2019-06-18 08:54:50 +02:00
tamasmeszaros
821ca0e36a
Build fix when boost is not in prefix/boost
2019-06-13 14:19:24 +02:00
bubnikv
7dd842b294
Merge remote-tracking branch 'remotes/origin/master' into vb_admesh_fix
2019-06-06 21:01:19 +02:00
bubnikv
c9a847a6a6
Support for Visual Studio 2019 Community
2019-06-06 11:40:35 +02:00
bubnikv
8da54139c4
WIP: Admesh - replacement of C memory allocation with std vectors
2019-06-04 22:06:42 +02:00
tamasmeszaros
96380180f4
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
bubnikv
cebb814a56
Generate debug symbols for Windows builds even in Release mode.
2019-05-13 19:31:20 +02:00
bubnikv
a3c1ef509c
Further renaming to PrusaSlicer
2019-05-13 15:14:33 +02:00
bubnikv
56256519cc
WIP: Renaming to PrusaSlicer.
...
Removed the obsolte icons.
2019-05-13 12:13:28 +02:00
bubnikv
4fdcc99d35
Require Boost 1.64.0 and newer on Linux & OSX due to the Boost::process
...
library
2019-05-06 18:30:59 +02:00
Vojtech Bubnik
0923bcec34
Added explicit linkage of pthreads library (needed on raspberry PI)
2019-04-23 11:02:57 +02:00
bubnikv
63a0d1aeee
Added comments to the gettext dictionaries generated by the xgettext tool.
...
The prefix to be searched for in the source code comments is TRN
2019-04-18 10:13:56 +02:00
bubnikv
349e30a39c
WIP: Restoring of the command line only builds (no GUI support).
2019-04-12 12:16:44 +02:00
Vojtech Kral
ba66f34c45
Build: Add an option to choose GTK version on Linux, fix #1937
2019-03-25 15:50:57 +01:00
bubnikv
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
bubnikv
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
Vojtech Kral
d1c569dd57
Mac: Implement Retina for the 3D scene, fix #97
2019-01-24 20:03:12 +01:00
Vojtech Kral
c63aff6dda
Build: Fix deployment target on Mac #1421
2019-01-11 17:05:57 +01:00
Vojtech Kral
6db40feace
Build: Add a flag to disable PCH
2019-01-11 12:49:24 +01:00
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