andrea
1d8e4b1b44
fIx Cmake Messages
2022-07-01 02:51:48 +02:00
wmayer
f13abb44a4
CMake: disable Drawing module by default
2022-06-25 18:10:06 +02:00
mosfet80
c48a569696
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Adrian Insaurralde Avalos
7798e8f42b
Rename FindOpenCasCade.cmake to FindOCC.cmake
...
To fix a warning 'name passed to `find_package_handle_standard_args` (OCC) does not match'
2022-06-22 19:19:37 -04:00
Uwe
9cca501eea
[CMake] remove traces of assembly module
...
the assembly module was removed for FC 0.20 but it appears still in CMake as build option.
This PR tries to remove the remaining traces (maybe more needs to be done?)
2022-05-23 19:06:32 +02:00
wmayer
d98aaecbfe
Mod: issue #6274 : Source code installation failed
2022-04-18 12:27:09 +02:00
wmayer
2dde41c054
Tools: [skip ci] fix linking errors of designer plugin with MSVC
2022-04-06 12:47:28 +02:00
Bernd Waibel
0e8b87bf51
Add option to build and install the designer plugin
...
The patch adds a cmake option BUILD_DESIGNER_PLUGIN, targeted
mainly at package maintainers to allow an easy build and installation
of the FreeCAD designer plugin.
It has been discussed in
https://forum.freecadweb.org/viewtopic.php?f=10&t=67706
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net >
2022-04-05 08:08:12 +02:00
andrea reale
83d3a916c0
remove QT4 references
2022-03-19 23:07:38 +01:00
Stefan Brüns
96045f3e58
[CMake] Abort configuration when required uic/rcc is not found
2022-02-26 14:13:46 +01:00
StefanBruens
dedf9e0386
[CMake] Use imported executable targets for finding Qt uic/rcc
...
Commit ad7077c03daf ("Update FindPySide2Tools.cmake") removed the
versioned names of uic/rcc, which are at least used on openSUSE
and Fedora.
Instead of determining the path of uic/rcc manually, just use
the imported executable targets. rcc comes from QtCore, while
uic comes from QtWidgets.
Fixes #6445 .
2022-02-26 14:13:46 +01:00
andrea reale
74dc860af2
Remove unused cMakes
2022-02-23 00:53:46 +01:00
Chris Hennes
52af09de85
Core: Remove accidentally-committed FindOCC.cmake
2022-02-21 09:22:57 -06:00
Chris Hennes
3ecd0cd0f0
Preference Packs: Add revert to backup option
2022-02-20 22:12:09 -06:00
mosfet80
20f31f409f
Update FindPySide2Tools.cmake
2022-02-14 14:44:51 +01:00
mosfet80
6434fa9114
Update FindPySide2Tools.cmake
...
fix else option when qt >=5.14
2022-02-14 14:44:51 +01:00
wmayer
a87e33258d
Gui: remove support of using deprecated Qt OpenGL API
2022-01-26 14:46:41 +01:00
luz paz
fd3f2b0092
Fix various typos and refinements
2022-01-06 20:22:34 +01:00
Uwe
ceb06c06f9
[CMake] fix mis-matching arguments issue
...
fixes this error:
A logical block opening on the line
cMake/FindCoin3D.cmake:12 (IF)
closes on the line
cMake/FindCoin3D.cmake:64 (ENDIF)
with mis-matching arguments.
2022-01-03 22:51:50 +01:00
Chris Hennes
640390b880
cMake: Default /MP to ON for MSVC
2021-12-21 23:07:02 -06:00
wmayer
68be996d57
App: add a CMake test to check if C runtime provides backtrace symbols
2021-11-09 14:16:12 +01:00
Jose Luis Cercos-Pita
d2654d6ecb
Prefer QtWebEngine over QtWebKit
2021-10-31 23:29:31 +01:00
wmayer
0672b879c6
dist-git: make script working again for Py3 and Linux
2021-10-30 14:50:00 +02:00
Chris Hennes
113b606c43
[Core] Add library dependency for boost date_time
2021-09-30 16:51:27 -05:00
wmayer
b89a7dc88c
MinGW: automatically find Coin library when running CMake
2021-09-23 12:33:25 +02:00
wmayer
8cbd92d874
port to MSYS2/clang
2021-09-19 19:49:44 +02:00
Bernd Waibel
e6824b9a2b
improve search for VTK-9
...
Improve the find_package calls with vtk-9 cmake config files.
In this version, the variable VTK_MODULES_ENABLED has been
replaced by VTK_AVAILABLE_COMPONENTS.
The additional change of the components names, which have their
'vtk' prefix removed in vtk-9 is not covered by this patch for
compatibility reasons.
See the forum thread noted below for a description of this:
https://forum.freecadweb.org/viewtopic.php?f=4&t=60068
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net >
2021-08-25 07:56:08 +02:00
Jose Luis Cercos-Pita
81c3c2260b
Enable plot module by default
2021-08-17 19:01:27 +02:00
Jose Luis Cercos-Pita
ecdd01dd7d
Remove Ship module
2021-07-05 09:24:21 +02:00
Mateusz Skowroński
9ade68e9bf
Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
2021-04-19 15:10:53 +02:00
marioalexis
7e9a9f887a
CMake: Fix find Matplotlib
2021-03-10 15:04:29 +01:00
luz paz
17ebdef0b1
CMake: correct non-POSIX friendly 'sed-i' arg in FindPySide2Tools.cmake
...
resolves #0004588
ticket: https://tracker.freecadweb.org/view.php?id=4588
Patch provided by 'garya'
Tweaked comment to reflect the patch change. [skip ci]
2021-03-08 14:19:44 +01:00
Chris Hennes
540a459103
[CMake] Add missing backwards-compatibility var
2021-03-08 13:58:02 +01:00
Chris Hennes
cf8d37b18d
Add forwards-compatibility definitions
2021-03-06 21:15:41 +01:00
Chris Hennes
e1c056c837
Add output of Pivy version
2021-03-06 21:15:22 +01:00
Chris Hennes
4e40f21e5d
Default PCL to OFF on MSVC as well
...
PCL was already defaulted to OFF on Linux, this changes the default to OFF on MSVC
as well. This can be reverted once the primary LibPack for Windows includes a version
of FLANN that compiles under C++17 (the last official release of FLANN, 1.9.1, does
not, but the HEAD in their Git repository does).
2021-03-06 21:12:22 +01:00
Chris Hennes
4e5c852a9b
Modify Python checks when cMake >= 3.12
2021-03-06 21:11:34 +01:00
Chris Hennes
e6b6d54cad
Add Python 3.6 requirement
2021-03-06 21:11:09 +01:00
Chris Hennes
c237fae4aa
Drop build-system support for Qt4 and Python 2
...
Also increase minimum CMake, GCC, and Clang versions to match
Ubuntu 18.04 LTS. This sets our minimum supported version of the C++
standard to C++17.
2021-03-06 21:10:44 +01:00
Chris Hennes
fd1c856afc
[CMAKE] Add version info for MEDfile
2021-02-28 19:31:05 +01:00
Chris Hennes
113ef52708
[CMAKE] Cleanup version info for Python & XercesC
2021-02-28 19:27:48 +01:00
Chris Hennes
75a6ac4c8b
[CMAKE] Add Coin3D version info
...
Modelled after the code for Eigen3, this adds a version check for Coin.
If pkg_config (or some other method) finds the version string, just
print that. If not, do a REGEX MATCH on the file in Coin's headers that
includes the version information. Note that in this case the beta
version information is excluded.
2021-02-28 19:27:26 +01:00
wmayer
e955864ed2
CMake: workaround for possibly failing OpenGL check in vtk9
2021-01-21 14:47:50 +01:00
wmayer
3c8835a4a6
cmake_ [skip ci] print major, minor and build number of boost
2021-01-05 15:11:53 +01:00
wmayer
6b92793a28
CMake: [skip ci] use FILTER of list command only for v3.6 or later
2020-12-12 10:53:20 +01:00
wmayer
22c555d460
Fix compiler warnings about redefinition of GL_GLEXT_LEGACY
2020-12-09 14:45:52 +01:00
wmayer
3c18a73b94
Import: [skip ci] add support of glTF format (requires OCCT 7.5)
2020-11-22 16:11:24 +01:00
sgrogan
cb3666c07a
cMake [skip ci] fix copying of qtwebengine_locales on Win
2020-11-19 12:27:32 +01:00
sliptonic
da6152991a
fix build problem with path
2020-10-18 16:36:47 -05:00
sliptonic
06fc3959fd
Merge pull request #3939 from plaes/minor-build-nitpicks
...
[build / PATH]: Minor build nitpicks
2020-10-18 14:26:47 -05:00