Commit Graph

59 Commits

Author SHA1 Message Date
tamasmeszaros
d1b2380f1b Fix error in previous commit 2021-12-13 17:11:17 +01:00
tamasmeszaros
a6af0b20a9 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
adb7fc5f43 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
5b7f9e45d9 Fix issues with finding new deps on win 2021-07-26 13:07:20 +02:00
tamasmeszaros
6f83ce1f0b 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
d62aace663 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
079ea22214 Fix openvdb configure process with unusable vdb_print 2021-02-03 15:27:39 +01:00
tamasmeszaros
574210dacc 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
8cbe773711 Fix for incorrect text fitting on gtk comboboxes.
fixes #4584
2021-01-07 13:38:29 +01:00
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