Commit Graph

242 Commits

Author SHA1 Message Date
luz paz
4f886b2b8c Fix various typos and refinements 2022-01-06 20:22:34 +01:00
Uwe
1999e7563c [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
b0fc0ab0f4 cMake: Default /MP to ON for MSVC 2021-12-21 23:07:02 -06:00
wmayer
84182deff0 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
9a7bf3abff Prefer QtWebEngine over QtWebKit 2021-10-31 23:29:31 +01:00
wmayer
c5fb91170b dist-git: make script working again for Py3 and Linux 2021-10-30 14:50:00 +02:00
Chris Hennes
5ab525df4e [Core] Add library dependency for boost date_time 2021-09-30 16:51:27 -05:00
wmayer
9bde68d784 MinGW: automatically find Coin library when running CMake 2021-09-23 12:33:25 +02:00
wmayer
e211b89cf8 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
Bernd Waibel
3473537ec6 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
b2910f1913 Enable plot module by default 2021-08-17 19:01:27 +02:00
Jose Luis Cercos-Pita
63c9e7ee72 Remove Ship module 2021-07-05 09:24:21 +02:00
Mateusz Skowroński
92683e1f63 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
0b5500948a CMake: Fix find Matplotlib 2021-03-10 15:04:29 +01:00
luz paz
971bb6695b 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
e2782d0c20 [CMake] Add missing backwards-compatibility var 2021-03-08 13:58:02 +01:00
Chris Hennes
e10f0a9545 Add forwards-compatibility definitions 2021-03-06 21:15:41 +01:00
Chris Hennes
1670a430f0 Add output of Pivy version 2021-03-06 21:15:22 +01:00
Chris Hennes
0edf24f7a6 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
7bbff520a0 Modify Python checks when cMake >= 3.12 2021-03-06 21:11:34 +01:00
Chris Hennes
13702ce5de Add Python 3.6 requirement 2021-03-06 21:11:09 +01:00
Chris Hennes
13b9127eee 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
221a43255c [CMAKE] Add version info for MEDfile 2021-02-28 19:31:05 +01:00
Chris Hennes
74b0c6efae [CMAKE] Cleanup version info for Python & XercesC 2021-02-28 19:27:48 +01:00
Chris Hennes
0ed341a84c [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
020e5bc709 CMake: workaround for possibly failing OpenGL check in vtk9 2021-01-21 14:47:50 +01:00
wmayer
2a0b688114 cmake_ [skip ci] print major, minor and build number of boost 2021-01-05 15:11:53 +01:00
wmayer
a9605dc462 CMake: [skip ci] use FILTER of list command only for v3.6 or later 2020-12-12 10:53:20 +01:00
wmayer
8ca1d2b3d4 Fix compiler warnings about redefinition of GL_GLEXT_LEGACY 2020-12-09 14:45:52 +01:00
wmayer
74b866ed30 Import: [skip ci] add support of glTF format (requires OCCT 7.5) 2020-11-22 16:11:24 +01:00
sgrogan
04e987c406 cMake [skip ci] fix copying of qtwebengine_locales on Win 2020-11-19 12:27:32 +01:00
sliptonic
272972559f fix build problem with path 2020-10-18 16:36:47 -05:00
sliptonic
c6a7f28db9 Merge pull request #3939 from plaes/minor-build-nitpicks
[build / PATH]: Minor build nitpicks
2020-10-18 14:26:47 -05:00
wmayer
01af171a31 macOS: [skip ci] suppress some more Py3.8 warnings, suppress warnings about deprecated OpenGL API 2020-10-17 23:53:47 +02:00
Priit Laes
06d87e4003 build: Bump boost requirement to 1.55 and drop bundled boost::any
Based on the information from bunch of the latest supported distros:
Debian Jessie: 1.55
Debian Stretch: 1.62
Ubuntu 16.04: 1.58
Ubuntu 18.04: 1.65
Fedora 31 and 32: 1.69
Redhat Enterprise Linux 8: 1.66 (1.53 for EL-7, though)
openSuse Leap 15.1: 1.66
2020-10-13 12:56:28 +02:00
wmayer
37c8dc4110 CMake: add OCCT libraries. Print lib and header locations in summary report 2020-10-08 17:22:53 +02:00
Priit Laes
5538d090af build: Path workbench depends on Mesh workbench 2020-10-08 17:28:08 +03:00
Priit Laes
b489f2b497 build: Fix dependency management for workbenches
Previously the workbench was not disabled even when dependencies
were unmet, resulting in eventual compile failure.
2020-10-08 17:28:08 +03:00
vocx-fc
f4ff61c354 Complete: do not build the Complete workbench because it is empty
If it is "built", it can be hidden by commenting out the last line
which adds it to the system:
`# Gui.addWorkbench(CompleteWorkbench())`
2020-10-06 12:34:33 +02:00
hrobeers
33adc5778e QtConcurrent is required for non GUI builds too 2020-09-11 16:25:13 +02:00
Jeffrey Zampieron
29e1117c8a Make sure we can find pyside on osx 2020-09-03 12:06:59 +02:00
wmayer
6ab4bb5a18 smesh: [skip ci] port Netgen plugin to v6.2 2020-07-23 16:22:54 +02:00
wmayer
85a6df1d4d CMake: make sure that C++14, C++17 or C++20 can also be set for MSVC 2020-07-14 10:28:00 +02:00
yopito
04833a5f1c build: fix Coin 3d documentation discovering
* coin3d 4.0.0 default location is /usr/share/doc/Coin/html/
* misuses of find_files() if several candidates for filename
* export variable COIN3D_DOC_FOUND that is used by cMake/FreeCAD_Helpers/PrintFinalReport.cmake
2020-07-06 15:30:28 +02:00
Warren Falk
9675611aca [CMake] Find old pyside2 uic and rcc when they are named pyuic5 and pyrcc5
Found that on ubuntu 20.04 where QT is still at 5.12, these are called pyuic5 and pyrcc5 now and cmake will not find these and then the build fails without this change
2020-07-03 14:41:11 +02:00
wmayer
b2c72a212d CMake: [skip ci] add build option to let the user decide to link with shiboken/PySide at build time 2020-06-10 14:17:50 +02:00
wmayer
6c2815214a CMake: [skip ci] add build option to let the user decide to link with shiboken/PySide at build time 2020-06-10 10:18:47 +02:00
wmayer
27b6066beb clang/gcc/cmake: move handling of suppressed deprecated-copy warnings from source file to CMake file to more easily support gcc 10 2020-06-09 15:30:42 +02:00
wmayer
8e7bf3eb28 CMake: [skip ci] add some links 2020-05-25 16:59:05 +02:00
wmayer
4d8db6474b Doc: [skip ci] fix check for doxygen 2020-05-11 10:55:47 +02:00