84 Commits

Author SHA1 Message Date
Martin Šach
e3c277b9ee Remove ancient FindEigen it is no longer needed 2024-11-22 16:33:39 +01:00
Jonne Mickelin
0ea9a1c729 Replace FindDbus.cmake with the upstream module (PR#13609 by @jmickelin)
This solves the build error with missing headers.

Partially fixes #13608.
2024-11-22 16:33:39 +01:00
Lukas Matena
a42223f963 Merge branch 'master_27x' 2024-01-26 13:07:19 +01:00
Martin Šach
b287bbc5dc Remove obsolete cmake find script and also remove Fill.hpp 2024-01-08 10:27:38 +01:00
Martin Šach
f2868767ab Remove obsolete perl files 2024-01-08 10:27:38 +01:00
tamasmeszaros
0fefc13599 Remove the need to list libraries to build in deps/CMakeLists.txt 2023-12-22 14:15:44 +01:00
tamasmeszaros
c15501bf8a Re-add a fixed version of FindEXPAT.cmake to fix wxWidgets build
Without this, wxWidgets will use the CMake default FindEXPAT which will not find our static expat correctly. This wrapper will do a config search first and always define EXPAT::EXPAT to point to the found library.
2023-12-22 13:37:21 +01:00
tamasmeszaros
71aca4f448 Fix problems with finding libexpat
fixes #9581
fixes #10390
2023-12-14 17:27:34 +01:00
tamasmeszaros
e316f1c9e8 Fixes for win deps builds 2023-10-27 13:50:36 +02:00
tamasmeszaros
4cb5e6f57f Add possibility to build shared libs 2023-10-24 15:07:34 +02:00
tamasmeszaros
79b86abebf Fix inconsistent option variable names in deps
Still support old behaviour
2023-10-24 15:07:34 +02:00
tamasmeszaros
0eb5517b57 Bundle the UsewxWidgets.cmake addon 2023-10-24 15:07:34 +02:00
tamasmeszaros
27c7b04d6d More fixes
- Fix xs dll copy with wrong dirs
- Fix wxWidgets build on Unixes : gtk version not being forwarded for debug build
- Digging deeper into wxWidgets debug builds on Unix platforms. Seems to be discontinued
2023-10-24 15:07:34 +02:00
tamasmeszaros
f65cbd8888 Fixes:
- support verbose build (only on Ninja currently)
- fix png -> zlib dependency markup 
- pass build type compiler flags to package builds (to implement full asan)
2023-10-24 15:07:34 +02:00
tamasmeszaros
22f32a046d More fine-tunable multithreading of deps 2023-10-24 15:07:34 +02:00
tamasmeszaros
23b01929f7 Deal with multithreaded builds of individual projects 2023-10-24 15:07:34 +02:00
tamasmeszaros
6749a5cdad Fixes and comments
Fix
2023-10-24 15:07:34 +02:00
tamasmeszaros
c46f6434ac Add some comments and remove obsolete files 2023-10-24 15:07:08 +02:00
tamasmeszaros
3fba2bc140 Dependency update with simplified cmake code 2023-10-24 15:06:08 +02:00
tamasmeszaros
831ea57483 Simplify and fix wxWidgets find procedure with up to date find module 2023-08-04 14:10:50 +02:00
tamasmeszaros
f8ec5fc9e7 Revert CMAKE_FIND_PACKAGE_PREFER_CONFIG as its from cmake > 3.13
Do the overriding in the appropriate find modules in cmake/modules
2022-05-23 10:55:23 +02:00
tamasmeszaros
8f47fba7a6 Update intel TBB to 2021.5 and OpenVDB to 8.2 2022-04-04 12:43:25 +02:00
tamasmeszaros
41397f90a4 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-04-04 12:43:25 +02:00
tamasmeszaros
e50a408e2e Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-04-04 12:43:25 +02: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