Commit Graph

54 Commits

Author SHA1 Message Date
eeb0cc7cb8 Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
fd827ef46b Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
718ab63247 Fix openvdb not being found in win when only release build is present 2020-05-07 10:49:05 +02:00
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
6757b2f099 Add check for cereal library in CMake
Fixes #3547, replaces #3613
2020-02-07 11:07:22 +01:00
d69116ee2a Set OpenVDB_FOUND if no debug but release is there and not on MSVC 2020-01-27 13:51:57 +01:00
6cb3aa36cd Try to fix cmake - openvdb on mac 2020-01-27 12:45:20 +01:00
4742d2096a Fix the previous fix 2020-01-24 12:35:50 +01:00
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
c1f4a248fe Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
2003ad819d Fix FindOpenVDB on Linux 2020-01-17 12:51:01 +01:00
1e28ab18a3 Follow up for Windows build fixes 2020-01-16 15:19:46 +01:00
588d707805 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
06fe0e9e3f Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:08:55 +01:00
26c1fac08d Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
7f060a6d1e Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
11feb259a3 Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
4c2b8a9dad Another small fix for FindGLEW 2019-12-11 14:39:31 +01:00
88b14a725f Fix finding static libraries on windows (mingw) 2019-12-11 14:00:55 +01:00
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
0416b8094f Small fix for OpenVDB find script 2019-12-10 13:40:40 +01:00
0cf10c144c Holes are now visible on slices in preview. 2019-11-13 15:55:37 +01:00
6fb9f06c66 Fix openvdb dependency in libslic3r 2019-10-25 15:48:01 +02:00
299798130d Merge branch 'tm_openvdb_integration' 2019-10-25 13:16:26 +02:00
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
3b9ca4f223 Fix FindTBB on linux in debug mode. 2019-10-17 17:32:26 +02:00
c931fd2849 Fix the missing link dependencies for tbb on Linux 2019-10-14 15:48:29 +02:00
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
a9b40c0547 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +02:00
e0527f95b0 Catch2 test framework integration. 2019-10-04 11:04:26 +02:00
73254ba3dd Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
187cd9c543 Fixed pre-compiled header command line options, especially on Linux 2019-01-07 16:59:15 -07:00
93ba21c132 Remove stray cmake message 2018-12-21 12:49:20 +01:00
fd6e003093 KBShortcutsDialog: Add symbols for Command and Option on Mac 2018-12-21 12:48:30 +01:00
c918d5c3c0 Fixed target path of precompiled headers binary. 2018-10-29 16:43:37 +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
77e469613f Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
2d731ca1e3 removing unnecessary artefacts FindFlann and duplicate c++11 standard definition in cmake. 2018-09-18 11:16:49 +02:00
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
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
9d9bcfe03f MSVC: Rename props file #857 2018-05-02 13:03:04 +02:00
97a948fa52 Fix Perl path MSVC props file #857 2018-05-02 12:49:48 +02: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
14929e9d15 Http client via libcurl 2018-03-05 15:52:17 +01:00
dcbc28fd49 Fixed ReleaseWithDebugInfo build. 2017-08-30 14:55:45 +02:00
d5c2c252a5 CMake build process: Fix of the Perl Alien::Wx querying script. 2017-08-28 22:23:21 +02:00
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
d0c43c99c3 CMake build system: Linux fixes 2017-08-18 22:45:24 +02:00
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