Commit Graph

63 Commits

Author SHA1 Message Date
tamasmeszaros
924c421f23 Update intel TBB to 2021.5 and OpenVDB to 8.2 2022-03-02 09:58:46 +01:00
tamasmeszaros
8d52393a35 Use upstream GLEW, remove duplication in deps and src
Also update glew to 2.2 where NOGDI is properly unset before windows.h is included. This was a patch in our copy of GLEW 1.13
2022-03-02 09:58:46 +01:00
tamasmeszaros
63a23cf3f8 Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-03-02 09:58:46 +01:00
tamasmeszaros
eddcebf929 Fix repeated calls to FindTBB in module mode.
fixes #6355
2022-02-03 16:03:46 +01:00
tamasmeszaros
08f88f09da Fix error in previous commit 2021-12-13 17:11:17 +01:00
tamasmeszaros
914f170a98 Use TBB config scripts to find the library if using dynamic libraries.
fixes #7470
fixes #6355 ?
2021-12-13 15:53:24 +01:00
tamasmeszaros
883f46662d Fix warnings when newer CMake is used.
project() call should always come AFTER cmake_minimum_required(). This caused various hard-to-debug issues when searching for packages. 

Newer CMake versions complain that compatibility is broken with v2.6
2021-08-20 13:42:10 +02:00
tamasmeszaros
ca67d880ec Fix issues with finding new deps on win 2021-07-26 13:07:20 +02:00
tamasmeszaros
e6507594fb Search for a better openvdb find module if available
Solves #6681, alternative path for openvdb installation can be specified via cache variable
2021-07-15 09:36:28 +02:00
Vojtech Bubnik
db2d78ff21 Reduction on compiler warnings, mainly on MSVC.
Fix of the new gap_fill_enable flag: Take it into account when comparing
regions.
2021-02-10 17:29:07 +01:00
tamasmeszaros
f0451439ae Fix openvdb configure process with unusable vdb_print 2021-02-03 15:27:39 +01:00
tamasmeszaros
85a7a3d5c5 Use prusaslicer_add_cmake_project on each cmake deps project
replace avrdude conf generation from C to CMake code
2021-01-26 10:17:51 +01:00
tamasmeszaros
2505c0a82d Fix for incorrect text fitting on gtk comboboxes.
fixes #4584
2021-01-07 13:38:29 +01:00
tamasmeszaros
2c3ec346ce Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
tamasmeszaros
63c82ed8c6 Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
tamasmeszaros
4cef33c50f Fix openvdb not being found in win when only release build is present 2020-05-07 10:49:05 +02:00
David Kocik
d828a1e80b 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
2fb1acd74b Add check for cereal library in CMake
Fixes #3547, replaces #3613
2020-02-07 11:07:22 +01:00
tamasmeszaros
3e5dce771f Set OpenVDB_FOUND if no debug but release is there and not on MSVC 2020-01-27 13:51:57 +01:00
tamasmeszaros
9f085c133a Try to fix cmake - openvdb on mac 2020-01-27 12:45:20 +01:00
tamasmeszaros
e05d38bdd0 Fix the previous fix 2020-01-24 12:35:50 +01:00
tamasmeszaros
9989c4858f 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
75260eea12 Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
tamasmeszaros
49678fe418 Fix FindOpenVDB on Linux 2020-01-17 12:51:01 +01:00
tamasmeszaros
ea6844c31d Follow up for Windows build fixes 2020-01-16 15:19:46 +01:00
tamasmeszaros
a1dc7a5c41 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
tamasmeszaros
e25cd1ce1a Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:08:55 +01:00
tamasmeszaros
4e27faa236 Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
tamasmeszaros
17de6ff51a Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
Lukas Matena
537260494d Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
tamasmeszaros
658858b249 Another small fix for FindGLEW 2019-12-11 14:39:31 +01:00
tamasmeszaros
c91046925a Fix finding static libraries on windows (mingw) 2019-12-11 14:00:55 +01:00
tamasmeszaros
38aa5cb437 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
0c4297b4f9 Small fix for OpenVDB find script 2019-12-10 13:40:40 +01:00
tamasmeszaros
d4d037792d Holes are now visible on slices in preview. 2019-11-13 15:55:37 +01:00
tamasmeszaros
1cc7bd9976 Fix openvdb dependency in libslic3r 2019-10-25 15:48:01 +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
dfba3f04e9 Fix FindTBB on linux in debug mode. 2019-10-17 17:32:26 +02:00
tamasmeszaros
a7c843d213 Fix the missing link dependencies for tbb on Linux 2019-10-14 15:48:29 +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
ce4f4bea06 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +02:00
tamasmeszaros
fe7f2e4d95 Catch2 test framework integration. 2019-10-04 11:04:26 +02:00
tamasmeszaros
7d25d8c677 Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
hexane360
b96190dc24 Fixed pre-compiled header command line options, especially on Linux 2019-01-07 16:59:15 -07:00
Vojtech Kral
570e5bd495 Remove stray cmake message 2018-12-21 12:49:20 +01:00
Vojtech Kral
2a244f2aab KBShortcutsDialog: Add symbols for Command and Option on Mac 2018-12-21 12:48:30 +01:00
bubnikv
16eeaed2f1 Fixed target path of precompiled headers binary. 2018-10-29 16:43:37 +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
0799ca2099 Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00