Commit Graph

52 Commits

Author SHA1 Message Date
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
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
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
wmayer
409ceb6ec5 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
5f92194a8c 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
0af515e582 CMake: add OCCT libraries. Print lib and header locations in summary report 2020-10-08 17:22:53 +02:00
Priit Laes
57648f9291 build: Path workbench depends on Mesh workbench 2020-10-08 17:28:08 +03:00
Priit Laes
e6b5fb190f 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
f59f24fa28 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
c46f06de53 QtConcurrent is required for non GUI builds too 2020-09-11 16:25:13 +02:00
wmayer
2f5d8085bf smesh: [skip ci] port Netgen plugin to v6.2 2020-07-23 16:22:54 +02:00
wmayer
bb8ca24904 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
wmayer
130003d533 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
5ffb62d8c5 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
3632c81435 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
3d1aae95b7 CMake: [skip ci] add some links 2020-05-25 16:59:05 +02:00
wmayer
8cd1e1ceba Doc: [skip ci] fix check for doxygen 2020-05-11 10:55:47 +02:00
Sebastiaan Lokhorst
81db0fda98 Fix OpenMPI detection
pkg_search_module lets us know if ompi-cxx was found. MpidotH is never used.
2020-05-04 10:59:48 +02:00
wmayer
49475112b3 Cloud: [skip ci] add build option to compile Cloud module 2020-02-20 22:10:17 +01:00
wmayer
606606edec conda: fix conda build failure because CMAKE_SYSTEM_PROCESSOR is not defined 2020-02-17 19:25:12 +01:00
Zhang Wei
8111c9e2e5 Patch for MIPS64 Architecture 2020-02-15 19:32:58 +01:00
SolidDude
20267f1af1 Get cmake to find pythonlibs 3.x when python 2.7 is present 2020-02-15 17:30:19 +01:00
wmayer
6985ecec07 CMake: [skip ci] report which C++ standard is required 2020-01-16 13:53:26 +01:00
looooo
3cf4aeb310 python: add option INSTALL_TO_SITEPACKAGES
If INSTALL_TO_SITEPACKAGES is enabled, the freecad-namespace package (freecad/__init__.py) is installed in the python-sitepackage-dir. Further, the library install path (CMAKE_INSTALL_LIBDIR)
is used to find the FreeCAD shared library. If, for some reason, one wants to import another installed FreeCAD version it's possible to set the environment variable "PATH_TO_FREECAD_LIBDIR" to
point to the wanted FreeCAD-library (FreeCAD.so / FreeCAD.dll)
2020-01-07 07:28:25 -03:00
wmayer
3bbd415523 Build option: do not force PCL to be always enabled on Win32, add option to allow to disable it 2019-11-29 16:15:16 +01:00
wmayer
dccfc474b4 Add option to copy required plugins from LibPack to build directory 2019-11-29 13:38:06 +01:00
wmayer
60dd9f3ab6 Fix cmake report to show correct Qt version 2019-11-24 12:36:05 +01:00
wmayer
9d723f38bc when using pcl do not allow it to override compiler flags 2019-11-22 14:46:01 +01:00
wmayer
6300e09dd8 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
cc6115920f set -Wpedantic for clang 2019-11-17 19:39:01 +01:00
looooo
1caf994858 cmake: pyside2: try other solution 2019-10-21 23:33:26 +02:00
looooo
504cbd84a7 cmake: pyside2: we also need headers from shiboken and pyside2 2019-10-05 17:15:29 +02:00
looooo
84fe44cb32 cmake: pyside2 config fix 2019-09-28 12:43:28 +02:00
sgrogan
6e1b8052d8 Copy files from libpack to build or install directory:
Windows- copy plugins/styles and plugins/printsupport to bin
copy libpack/bin/QtWebEngineProcess.exe and libpack/bin/qt.conf to build/bin
copy assistant.exe to build/bin
2019-09-27 11:09:10 +02:00
wmayer
91224df805 clean-up FreeCADLibpackChecks.cmake 2019-09-26 23:42:13 +02:00