Commit Graph

495 Commits

Author SHA1 Message Date
Bernd Waibel
453f49235c properly report Shiboken and PySide if found
The patch fixes a small issue, with the PrintFinalReport macro, where
Shiboken and PySide where not properly reported.

Closes: https://github.com/FreeCAD/FreeCAD/issues/8573
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2023-02-21 14:57:01 -06:00
Chris Hennes
9ca89f6ef5 cMake: Add manual find_package() for fmt 2023-02-20 21:42:55 -06:00
Pesc0
0cd35f733b Cleanup root directory 2023-02-18 16:09:56 -06:00
Chris Hennes
674be12e96 Core: FetchContent zip download instead of git 2023-02-18 12:43:48 -06:00
Chris Hennes
58061500f9 Core: Add libfmt via FetchContent 2023-02-18 12:43:48 -06:00
luzpaz
a134129868 Fix various trailing whitespace issues 2023-02-16 09:30:22 -05:00
berniev
3496858451 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
8e9f9bba53 cMake: Clean up old Mac Python search 2023-02-09 17:57:47 -07:00
luzpaz
1f7ab06160 Fix whitespace issues 2023-02-05 16:39:58 +01:00
wmayer
37a1b34c6a CMake: make sure to add RPATH to area-native library 2023-02-02 16:56:15 +01:00
berniev
e3974e474e 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
Chris Hennes
ffb87b5f6e cMake: Correct PySideTools paths on Windows 2023-01-30 10:36:33 -07:00
berniev
b7067b1451 Remove obsolete cmake code (<3.16.3) 2023-01-29 17:29:08 -07:00
berniev
94a4715375 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
3e0833c2c7 Update minimum python version
https://wiki.freecadweb.org/FreeCAD_1.0_Development_Cycle
2023-01-24 21:43:45 -07:00
wmayer
fb565e4af9 PySide: [skip ci] fix typo 2023-01-01 11:01:13 +01:00
wmayer
24438bb10d PySide: in PySide6 QWebEnginePage has been moved to QtWebEngineCore 2023-01-01 10:31:13 +01:00
wmayer
4e8ecc41b6 QtTest: [skip ci] enable Qt testing framework 2022-12-01 13:57:00 +01:00
berniev
36298a5a98 cmake: correct usage of ifdefined (PR #7829) 2022-11-20 14:16:18 +01:00
berniev
ba62ec0e24 remove unused code in find pyside 2022-11-20 13:43:10 +01:00
wmayer
4a0df1f352 Qt6 port: [skip ci] set helper variable Qt6Core_MOC_EXECUTABLE pointing to the moc tool 2022-11-05 13:36:36 +01:00
wmayer
e610d884eb cmake: [skip ci] build with Qt6 requires the module QtSvgWidgets 2022-11-02 14:40:40 +01:00
Chris Hennes
1fac3fead0 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
d8bb25960c add_definitions(-DSALOME_USE_64BIT_IDS) for smesh via config 2022-10-02 18:19:58 +02:00
berniev
652e8015a9 Remove redundant reference to C++14 2022-09-28 17:03:54 +02:00
wmayer
c7123c48f0 CMake: fix compiler warnings about macro redefinition 2022-09-27 08:17:31 +02:00
wmayer
220982748d 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
0d67f70650 Fix for Boost with C++20 2022-09-25 11:58:23 +02:00
looooo
c9f175d389 extend find_package(SMESH) 2022-09-11 21:07:57 +02:00
Scott Mudge
a9a9220013 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
fd714a20b7 remove unused CXX standards. change boost min version to 1.65
reintroduce c++14
2022-08-14 18:11:14 +02:00
wmayer
05c9307764 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
3d4bc17bbb give success message normal prominence 2022-08-06 23:27:23 -04:00
wmayer
5029e9eea2 CMake: re-add workaround for MINGW to find Coin3D 2022-08-02 16:57:36 +02:00
wmayer
739b59ff2d PyCXX: update to version 6.3.0 2022-08-01 14:53:23 +02:00
wmayer
9a654fd979 CMake: use system version of FindCoin3D.cmake 2022-07-27 09:56:50 +02:00
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