Commit Graph

95 Commits

Author SHA1 Message Date
luzpaz
08b3bf4462 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
berniev
6e67ec9cc0 Still more improvements to Report Summary
Final Report doesn't distinguish system settings

Added ability to have 'sections' to group stuff
Added value function to display options as ON / OFF / value / -undefined-
Added sections System, Config, Libraries
Added a bunch of data to System and Config. Moved some out of Libraries as appropriate.
2023-02-10 20:29:16 -07:00
Chris Hennes
30e464d82a cMake: Clean up old Mac Python search 2023-02-09 17:57:47 -07:00
berniev
d5e1b3f441 Further efficiencies to Summary Report
Changed existing function to macro to access list of lines
Added conditional macro to save most of the if() else() endif()
Output sorted for improved comprehension
Moved build message out (nothing to do with report)
SLOC -~30%
2023-01-30 18:10:52 -07:00
berniev
b0ae66b94c Remove obsolete cmake code (<3.16.3) 2023-01-29 17:29:08 -07:00
berniev
243ad94fb2 Simplify usage in Final Report and move Libpack copy stuff out
Added report function to separate logic from presentation and automate layout
Removed Libpack stuff to its own cmake file CopyLibpackDirectories.cmake
Added call in main CMakeLists.txt to libpack stuff
2023-01-28 08:41:34 -07:00
berniev
8c36e83ff2 Update minimum python version
https://wiki.freecadweb.org/FreeCAD_1.0_Development_Cycle
2023-01-24 21:43:45 -07:00
wmayer
ad1663245b PySide: [skip ci] fix typo 2023-01-01 11:01:13 +01:00
wmayer
f26bf54876 PySide: in PySide6 QWebEnginePage has been moved to QtWebEngineCore 2023-01-01 10:31:13 +01:00
wmayer
1d7369e321 QtTest: [skip ci] enable Qt testing framework 2022-12-01 13:57:00 +01:00
berniev
ab7644441f cmake: correct usage of ifdefined (PR #7829) 2022-11-20 14:16:18 +01:00
wmayer
9efb942e12 Qt6 port: [skip ci] set helper variable Qt6Core_MOC_EXECUTABLE pointing to the moc tool 2022-11-05 13:36:36 +01:00
wmayer
a334bc4f0a cmake: [skip ci] build with Qt6 requires the module QtSvgWidgets 2022-11-02 14:40:40 +01:00
Chris Hennes
2f7be9e782 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
looooo
c35bf58a43 add_definitions(-DSALOME_USE_64BIT_IDS) for smesh via config 2022-10-02 18:19:58 +02:00
berniev
448ce085f4 Remove redundant reference to C++14 2022-09-28 17:03:54 +02:00
wmayer
c1e7057dbb CMake: fix compiler warnings about macro redefinition 2022-09-27 08:17:31 +02:00
wmayer
608fb15d40 CMske: move define 'BOOST_NO_CXX98_FUNCTION_BASE' to CompilerChecksAndSetups macro and support CMake < 3.12 2022-09-25 12:18:05 +02:00
berniev
bd88f7275c Fix for Boost with C++20 2022-09-25 11:58:23 +02:00
looooo
628e994f5a extend find_package(SMESH) 2022-09-11 21:07:57 +02:00
Scott Mudge
fac841a0b7 Fixed external SMESH cmake scripts, allowing netgen and gmsh compatibility with VTK 9
- moved base SMESH cmake logic to respective cmake script.
- allow BUILD_SMESH, regardless of external SMESH usage, for testing and so on.
2022-09-11 21:07:57 +02:00
andrea
10a78d91af remove unused CXX standards. change boost min version to 1.65
reintroduce c++14
2022-08-14 18:11:14 +02:00
wmayer
3783e629c6 CMake: if module search mode for Coin3D failed try config search mode, restore the variable COIN3D_VERSION 2022-08-07 13:49:27 +02:00
berniev
71c720efc8 give success message normal prominence 2022-08-06 23:27:23 -04:00
wmayer
8690630495 CMake: re-add workaround for MINGW to find Coin3D 2022-08-02 16:57:36 +02:00
wmayer
7a198ca32e CMake: use system version of FindCoin3D.cmake 2022-07-27 09:56:50 +02:00
andrea
dc57327e7f fIx Cmake Messages 2022-07-01 02:51:48 +02:00
wmayer
d7313598aa CMake: disable Drawing module by default 2022-06-25 18:10:06 +02:00
mosfet80
620c273c4e 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
69932742d2 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
daf2df6f80 [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
6bc65bdd99 Mod: issue #6274: Source code installation failed 2022-04-18 12:27:09 +02:00
wmayer
5c342f6e58 Tools: [skip ci] fix linking errors of designer plugin with MSVC 2022-04-06 12:47:28 +02:00
Bernd Waibel
c521a9179b 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
wmayer
daf1269497 Gui: remove support of using deprecated Qt OpenGL API 2022-01-26 14:46:41 +01:00
luz paz
4f886b2b8c Fix various typos and refinements 2022-01-06 20:22:34 +01:00
Chris Hennes
b0fc0ab0f4 cMake: Default /MP to ON for MSVC 2021-12-21 23:07:02 -06: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
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
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