Commit Graph

57 Commits

Author SHA1 Message Date
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
ca67d880ec Fix issues with finding new deps on win 2021-07-26 13:07:20 +02:00
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
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
f0451439ae Fix openvdb configure process with unusable vdb_print 2021-02-03 15:27:39 +01:00
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
2505c0a82d Fix for incorrect text fitting on gtk comboboxes.
fixes #4584
2021-01-07 13:38:29 +01:00
2c3ec346ce Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
63c82ed8c6 Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
4cef33c50f Fix openvdb not being found in win when only release build is present 2020-05-07 10:49:05 +02:00
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
2fb1acd74b Add check for cereal library in CMake
Fixes #3547, replaces #3613
2020-02-07 11:07:22 +01:00
3e5dce771f Set OpenVDB_FOUND if no debug but release is there and not on MSVC 2020-01-27 13:51:57 +01:00
9f085c133a Try to fix cmake - openvdb on mac 2020-01-27 12:45:20 +01:00
e05d38bdd0 Fix the previous fix 2020-01-24 12:35:50 +01:00
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
75260eea12 Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
49678fe418 Fix FindOpenVDB on Linux 2020-01-17 12:51:01 +01:00
ea6844c31d Follow up for Windows build fixes 2020-01-16 15:19:46 +01:00
a1dc7a5c41 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
e25cd1ce1a Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:08:55 +01:00
4e27faa236 Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
17de6ff51a Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
537260494d Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
658858b249 Another small fix for FindGLEW 2019-12-11 14:39:31 +01:00
c91046925a Fix finding static libraries on windows (mingw) 2019-12-11 14:00:55 +01:00
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
0c4297b4f9 Small fix for OpenVDB find script 2019-12-10 13:40:40 +01:00
d4d037792d Holes are now visible on slices in preview. 2019-11-13 15:55:37 +01:00
1cc7bd9976 Fix openvdb dependency in libslic3r 2019-10-25 15:48:01 +02:00
deda712e20 Merge branch 'tm_openvdb_integration' 2019-10-25 13:16:26 +02:00
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
dfba3f04e9 Fix FindTBB on linux in debug mode. 2019-10-17 17:32:26 +02:00
a7c843d213 Fix the missing link dependencies for tbb on Linux 2019-10-14 15:48:29 +02:00
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
ce4f4bea06 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +02:00
fe7f2e4d95 Catch2 test framework integration. 2019-10-04 11:04:26 +02:00
7d25d8c677 Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
b96190dc24 Fixed pre-compiled header command line options, especially on Linux 2019-01-07 16:59:15 -07:00
570e5bd495 Remove stray cmake message 2018-12-21 12:49:20 +01:00
2a244f2aab KBShortcutsDialog: Add symbols for Command and Option on Mac 2018-12-21 12:48:30 +01:00
16eeaed2f1 Fixed target path of precompiled headers binary. 2018-10-29 16:43:37 +01:00
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
0799ca2099 Fixes of the CMake build system to compile Release and Debug builds
on MS Windows.
2018-10-22 19:54:38 +02:00
5fa99fd903 removing unnecessary artefacts FindFlann and duplicate c++11 standard definition in cmake. 2018-09-18 11:16:49 +02:00
fbe415f88e Rough base pool geometry can be generated from convex hull or from the ground slice itself. 2018-08-13 18:23:49 +02:00
2fae893af2 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
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