Commit Graph

47 Commits

Author SHA1 Message Date
Joao Matos
27ebc68a11 CMake: Modernize build files using outdated Python variables. 2025-02-16 10:21:26 -06:00
bofdahof
c7eb97c972 Add Vtk to cmake report 2025-02-15 10:22:09 -06:00
Patryk Skowroński
f2fb3f6b07 Fixed CMake files for a runtime switch 2025-01-09 16:03:51 +01:00
marioalexis
a6b36f6e57 CMake: Decouple internal SMESH build from Fem build - fixes #18287 2024-12-09 12:09:30 -05:00
wwmayer
94cf4efd87 CMake: Report use of ccache in the summary (#18245)
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-12-09 11:01:32 -06:00
wmayer
7dbef77f4a CMake: Handle build time checks to choose between modern and/or legacy space mouse devices 2024-12-03 20:32:06 +01:00
marcuspollio
5a841e7222 cmake: update BUILD_PATH to BUILD_CAM (#16040) 2024-08-26 11:27:09 -05:00
Yorik van Havre
76e901861d BIM: Renamed Arch to BIM 2024-05-16 17:23:10 +02:00
hlorus
36d16b2243 [Measure] Add features, viewproviders and preferences for unified measurement facility 2024-04-29 09:27:22 -04:00
Chris Hennes
c35693fd8a Web: Remove GUI
Web no longer provides a user-visible browser, but only a simple server for remote interaction with FreeCAD. Dependency on QtWebWengine has been removed.
2024-04-21 22:27:50 -05:00
Chris Hennes
cfb0873d38 Start: Migrate to simple command 2024-04-21 22:27:50 -05:00
Chris Hennes
d0a87d3e0c Start: Remove old WB and replace with new 2024-04-21 22:27:50 -05:00
Chris Hennes
ef189f8bcf Start: Recreate start as a QtWidgets-based app
Removes all Start network access and dependency on Chromium for rendering. Written
entirely in C++ (no HTML, CSS, JS, etc.).
2024-04-21 22:27:49 -05:00
Patryk Skowroński
233a61e54e New integration with 3Dconnexion devices (#12929)
* New integration with 3Dconnexion devices

* CMake build option hidden for Mac

* Minor fixes, to be squashed to previous commit

* cmake: fix indent and case; to be squashed

* Corrected name case

---------

Co-authored-by: Patryk Skowroński <pskowronski@3dconnexion.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
Co-authored-by: Ladislav Michl <ladis@linux-mips.org>
2024-04-15 10:43:45 -05:00
Adrián Insaurralde Avalos
5a960792e5 Material: fix windows debug builds
Material: fix cmake linking of yaml-cpp<0.7.0
write version in final report
2024-04-01 10:38:23 -05:00
Chris Hennes
ee7779455a Test: Begin QuantitySpinBox QTests 2023-08-12 10:23:43 -07:00
Adrián Insaurralde Avalos
3b6dbeb27e Rename cmake flag for unit tests to ENABLE_DEVELOPER_TESTS
To differentiate from the previously existing BUILD_TEST that controls building the Test WB
2023-08-02 00:49:29 +00:00
Bernd Waibel
8fde3e3cd0 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
b3766e5c42 cMake: Add manual find_package() for fmt 2023-02-20 21:42:55 -06:00
Chris Hennes
59c95496b4 Core: Add libfmt via FetchContent 2023-02-18 12:43:48 -06:00
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
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
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
ab7644441f cmake: correct usage of ifdefined (PR #7829) 2022-11-20 14:16:18 +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
andrea
dc57327e7f fIx Cmake Messages 2022-07-01 02:51:48 +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
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
Chris Hennes
1670a430f0 Add output of Pivy version 2021-03-06 21:15:22 +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
sgrogan
04e987c406 cMake [skip ci] fix copying of qtwebengine_locales on Win 2020-11-19 12:27:32 +01:00
wmayer
37c8dc4110 CMake: add OCCT libraries. Print lib and header locations in summary report 2020-10-08 17:22:53 +02:00
wmayer
6ab4bb5a18 smesh: [skip ci] port Netgen plugin to v6.2 2020-07-23 16:22:54 +02:00
wmayer
0b2b1e3a53 CMake: [skip ci] report which C++ standard is required 2020-01-16 13:53:26 +01:00
wmayer
281a2772f3 Add option to copy required plugins from LibPack to build directory 2019-11-29 13:38:06 +01:00
wmayer
b9fd533cac Fix cmake report to show correct Qt version 2019-11-24 12:36:05 +01:00
wmayer
71dae0e639 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
c0a80e1a9a set -Wpedantic for clang 2019-11-17 19:39:01 +01:00
sgrogan
b4846d45b7 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
ezzieyguywuf
63c45d3ba4 Move logic out of CMakeLists.txt
This is an initial pass, simply moving the existing logic as-is. Future
PR's will attempt to refactor and improve the cmake stuff.
2019-09-26 18:54:45 +02:00