Commit Graph

50 Commits

Author SHA1 Message Date
tamasmeszaros
eeb0cc7cb8 Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
tamasmeszaros
fd827ef46b Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
tamasmeszaros
718ab63247 Fix openvdb not being found in win when only release build is present 2020-05-07 10:49:05 +02:00
David Kocik
4102c86b5d single slicer instance
check for other instances during startup
send message with command line arguments if found and terminate
listen for those messages and load objects from paths in messages from them
2020-04-29 10:53:48 +02:00
tamasmeszaros
6757b2f099 Add check for cereal library in CMake
Fixes #3547, replaces #3613
2020-02-07 11:07:22 +01:00
tamasmeszaros
d69116ee2a Set OpenVDB_FOUND if no debug but release is there and not on MSVC 2020-01-27 13:51:57 +01:00
tamasmeszaros
6cb3aa36cd Try to fix cmake - openvdb on mac 2020-01-27 12:45:20 +01:00
tamasmeszaros
4742d2096a Fix the previous fix 2020-01-24 12:35:50 +01:00
tamasmeszaros
a91da51cc9 Fix missing atomic check from FindOpenVDB
It has to be re-checked and added as needed to the imported target link-line

SPE-1073
2020-01-24 10:12:37 +01:00
tamasmeszaros
c1f4a248fe Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
tamasmeszaros
2003ad819d Fix FindOpenVDB on Linux 2020-01-17 12:51:01 +01:00
tamasmeszaros
1e28ab18a3 Follow up for Windows build fixes 2020-01-16 15:19:46 +01:00
tamasmeszaros
588d707805 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
tamasmeszaros
06fe0e9e3f Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:08:55 +01:00
tamasmeszaros
26c1fac08d Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
tamasmeszaros
7f060a6d1e Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
Lukas Matena
11feb259a3 Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
tamasmeszaros
4c2b8a9dad Another small fix for FindGLEW 2019-12-11 14:39:31 +01:00
tamasmeszaros
88b14a725f Fix finding static libraries on windows (mingw) 2019-12-11 14:00:55 +01:00
tamasmeszaros
1f623fdae6 Finding GLEW work in release and debug.
Make building in release and debug in one cmake run on msvc with the prusaslicer_add_cmake_project function.
2019-12-11 12:32:29 +01:00
tamasmeszaros
0416b8094f Small fix for OpenVDB find script 2019-12-10 13:40:40 +01:00
tamasmeszaros
0cf10c144c Holes are now visible on slices in preview. 2019-11-13 15:55:37 +01:00
tamasmeszaros
6fb9f06c66 Fix openvdb dependency in libslic3r 2019-10-25 15:48:01 +02:00
tamasmeszaros
299798130d Merge branch 'tm_openvdb_integration' 2019-10-25 13:16:26 +02:00
tamasmeszaros
29024d2b69 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
3b9ca4f223 Fix FindTBB on linux in debug mode. 2019-10-17 17:32:26 +02:00
tamasmeszaros
c931fd2849 Fix the missing link dependencies for tbb on Linux 2019-10-14 15:48:29 +02:00
tamasmeszaros
1a16d5f0e7 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
a9b40c0547 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +02:00
tamasmeszaros
e0527f95b0 Catch2 test framework integration. 2019-10-04 11:04:26 +02:00
tamasmeszaros
73254ba3dd Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
hexane360
187cd9c543 Fixed pre-compiled header command line options, especially on Linux 2019-01-07 16:59:15 -07:00
Vojtech Kral
93ba21c132 Remove stray cmake message 2018-12-21 12:49:20 +01:00
Vojtech Kral
fd6e003093 KBShortcutsDialog: Add symbols for Command and Option on Mac 2018-12-21 12:48:30 +01:00
bubnikv
c918d5c3c0 Fixed target path of precompiled headers binary. 2018-10-29 16:43:37 +01:00
bubnikv
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
bubnikv
77e469613f Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
tamasmeszaros
2d731ca1e3 removing unnecessary artefacts FindFlann and duplicate c++11 standard definition in cmake. 2018-09-18 11:16:49 +02:00
tamasmeszaros
79c0ed429c Rough base pool geometry can be generated from convex hull or from the ground slice itself. 2018-08-13 18:23:49 +02:00
YuSanka
57e83dcbc8 Fixed #998
Added detection of gtk2/gtk3 GUI libraries required by Alien::wxWidgets.
Added gtk2/gtk3 include paths, so we may call gtk2/3 API directly if needed for some workaround.
2018-06-26 10:37:36 +02:00
Vojtech Kral
14929e9d15 Http client via libcurl 2018-03-05 15:52:17 +01:00
bubnikv
dcbc28fd49 Fixed ReleaseWithDebugInfo build. 2017-08-30 14:55:45 +02:00
bubnikv
d5c2c252a5 CMake build process: Fix of the Perl Alien::Wx querying script. 2017-08-28 22:23:21 +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
d0c43c99c3 CMake build system: Linux fixes 2017-08-18 22:45:24 +02:00
bubnikv
ba1c0b0137 CMake build process - fixes of the previous check-ins to build
cleanly on Windows & Linux. There is still a work on OSX:
The XS module has to be linked without perl.lib and with
the following parameters to produce a bundle: -bundle -undefined dynamic_lookup
2017-08-18 21:09:53 +02: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
bubnikv
5673205d2e Initial implementation of a CMake build system for the Slic3r XS module.
Based on https://github.com/CReimer/Slic3r/tree/makefile_pr
Big thanks to @CReimer for his huge effort.
2017-08-16 19:05:08 +02:00