Commit Graph

391 Commits

Author SHA1 Message Date
wmayer
cad2f33b4e MSVC: Fix linking error when 3Dconnexion support is set to 'Raw input' 2024-12-20 18:32:09 -05:00
Furgo
e458526279 Disable external zipios usage for Debian builds 2024-12-14 10:49:32 -05:00
Chris Mayo
21411fcf3a Remove LibPack FLANN comment
cMake/UseLibPack10x.cmake was removed in:
e0220e7830 ("Remove unused cMakes", 2022-02-22)
2024-12-13 21:19:36 +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
Chris Hennes
b160f1afc0 Merge pull request #18244 from wwmayer/space_mouse_runtime
Gui: Add runtime check to choose between modern and legacy space mous…
2024-12-09 11:36:17 -05:00
Chris Hennes
ba1b3b1cb7 cMake: Update for LibPack 3.1
LibPack 3.1 removes boost-python and adds pybind11
2024-12-09 10:26:00 -05: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
mosfet80
841a10f2e0 Clean FindKDL.cmake
update orocos version used by oldest supported focal fossa
clean cmake
2024-11-22 11:53:12 -05:00
mosfet80
0fee326c54 [cmake] clean InitializeFreeCADBuildOptions.cmake
cmake version is always greater than 3.4.3
The verification is done in the cmakefile in the root folder
2024-11-18 12:14:39 -05:00
Chris Mayo
b0dd5e7b60 CMake: Add inter-module dependency of ReverseEngineering on Points
Building with -DBUILD_POINTS=no -DBUILD_REVERSEENGINEERING=yes fails with:

src/Mod/ReverseEngineering/App/AppReverseEngineering.cpp
src/Mod/ReverseEngineering/App/AppReverseEngineering.cpp:36:10: fatal error: Mod/Points/App/PointsPy.h: No such file or directory
   36 | #include <Mod/Points/App/PointsPy.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
2024-10-21 18:13:20 +02:00
Chris Mayo
5a537f6de0 CMake: Add inter-module dependency of Part on Material
Building with -DBUILD_PART=ON and -DBUILD_MATERIAL=no fails with:

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMaterials: No such file or directory
collect2: error: ld returned 1 exit status
2024-10-21 18:11:56 +02:00
Jacob Oursland
f8c4842d6f Windows: Make FreeCAD.exe debuggable on PDB builds. 2024-09-13 12:30:10 -06:00
mosfet80
95c42d0be3 fix CXX standard selection
only   CXX 23, 20 and 17 standards are allowed
2024-09-11 21:08:44 +02:00
Chris Hennes
29d05e9613 cMake: Add option to use C++23 2024-09-02 18:03:33 +02:00
bgbsww
2a541c9536 Toponaming: Remove remaining FC_USE_TNP_FIX defines 2024-08-31 13:21:10 -05:00
marcuspollio
5a841e7222 cmake: update BUILD_PATH to BUILD_CAM (#16040) 2024-08-26 11:27:09 -05:00
Ladislav Michl
5b66e2bc91 cMake: Fix searching for pip installed package libraries
Although this is a bit fragile way to search for package libraries
it does the job. A more robust solution may be desirable.
2024-08-14 09:46:51 +02:00
Ladislav Michl
5a11cfdf55 cMake: Adjust to the new names of find_pip_package return variables
Fixes: d01ce32a1f ("Update for LibPack3")
2024-08-14 09:46:51 +02:00
Chris Hennes
c141cb3141 cMake: ensure the Shiboken target exists before using it 2024-08-05 10:46:22 -04:00
Jacob Oursland
26e8eb1f9f CMake: ensure shiboken does not introduce Py_LIMITED_API.
On some builds, the CMake package files for PySide6's Shiboken set the Py_LIMITED_API define on
the compiler's command line.  This breaks FreeCAD as it depends on definitions from the Python
Stable API unavailable with the Limited API.
2024-07-22 09:22:30 -07:00
Adrián Insaurralde Avalos
b49aca5d55 remove qtxmlpatterns from cmake scripts 2024-07-15 11:29:01 -05:00
Chris Hennes
9eeca1f6ad cMake: Fix LibPack3 install target DLL locations 2024-07-10 13:17:58 -05:00
Chris Hennes
99d63a9693 cMake: Fix extra copy line for printsupport plugins 2024-07-08 08:44:18 -05:00
Chris Hennes
c934a4bd64 cMake: Remove use of Core5Compat from Qt6 2024-07-08 11:59:09 +02:00
Chris Hennes
f28394a376 cMake: Make a failure to import Pivy non-fatal 2024-06-28 19:29:53 -05:00
Chris Hennes
3b8f615f7a cMake: Fix ENDIF() and clean up formatting 2024-06-28 13:50:30 -05:00
Chris Hennes
d01ce32a1f Update for LibPack3 (#10337)
* cMake: Add base support for LibPack3

Minor changes to FreeCAD source code to support compiling with Qt 6.5 on MSVC,
and changes to cMake setup to support the new Libpack.

* NETGENPlugin: Fix compilation with MSVC and OCCT 7.8

* Material: Switch to Wrapped_ParseTupleAndKeywords for /fpermissive- on MSVC

* Base: Prevent accidental definition of MIN and MAX by MSVC

* cMake: Prevent accidentally finding an old LibPack

* Material: Wrap another ParseTuple call

* OCCT: Modify includes for 7.8.x

* Part: Change TNP code to use Wrapped_ParseTupleAndArgs

* Spreadsheet: Workaround for MSVC macro pollution

* Mesh: Workaround for MSVC macro pollution

* Base: Remove extra MSVC flag (moved to CMake)

* Tests: Fix compiling with /permissive-

* FEM: Fix Qt warnings about duplicate element names

* cMake: Ensure major version numbers are set

* Address review comments.

* cMake: Further tweaks for LibPack3

* cMake: Modify specification of compiler flags for MSVC

* Main: Remove QtQuick testing code

* cmake: Find Boost before SMESH (which uses it)

* Fixes for LibPack2

* cMake: Another try at importinhg VTK cleanly
2024-06-24 18:25:05 +02:00
Patryk Skowroński
fefd3851ac Spaceball settings tabs removal from the Customize panel (#14589)
* Removed Spaceball tabs for NavLib integration

* Added missing CMake variable for MacOS/Linux platform

---------

Co-authored-by: Patryk Skowroński <pskowronski@3dconnexion.com>
2024-06-24 11:06:25 -05:00
wmayer
ed672c5cd9 MSVC: Fix crash with std::mutex
See https://stackoverflow.com/questions/78598141/first-stdmutexlock-crashes-in-application-built-with-latest-visual-studio
2024-06-16 19:45:16 -05:00
wmayer
4185605d5e clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
Chris Hennes
9bc5675ab3 Correct flag 2024-05-20 12:40:52 -05:00
Chris Hennes
895803a8cb Toponaming: Enable FC_USE_TNP_FIX code 2024-05-20 12:40:52 -05:00
Yorik van Havre
76ad87d464 CMAKE: Do not strip lines when creating python resources 2024-05-16 17:23:10 +02:00
Yorik van Havre
76e901861d BIM: Renamed Arch to BIM 2024-05-16 17:23:10 +02:00
ppphp
4cd8b2ad15 fix some warnings: cmake string quotes and float mark (#13909)
Co-authored-by: liukaiwen <kaiwen.liu@zixel.cn>
2024-05-13 11:55:59 -04:00
Chris Hennes
fb513587b7 cMake: Restore wrappers for QtWebEngine 2024-05-06 08:08:35 +02:00
0penBrain
502f78e111 Make: use single dash argument for Apple toolchain 2024-05-01 14:04:45 -04:00
WandererFan
db22476450 Merge pull request #9750 from hlorus/gsoc2023_measure
GSoC 2023: Unified Measurement Facility
2024-04-29 12:41:54 -04:00
0penBrain
7b85e8fc48 Cmake: pass 'undefined' with double dash so alternative linker can be used 2024-04-29 18:25:17 +02:00
hlorus
36d16b2243 [Measure] Add features, viewproviders and preferences for unified measurement facility 2024-04-29 09:27:22 -04:00
wwmayer
c4c453312d PySide6: Fixes #13533: QSvgWidget is not a child of QtSvg in PySide6 (#13554)
* Create a compatibility module QtSvgWidgets.py to handle PySide2 & PySide6
* In the Arch and Material modules use the QtSvgWidgets module
* Since Qt6 the method QFont.setWeight() doesn't accept an int any more but requires an enum. Since the call of QFont.setBold(True) sets
  a weight of 75 the extra calls of QFont.setWeight(75) can be safely removed

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-04-22 18:35:33 -04:00
Chris Hennes
5d7fec1e98 Web: remove QtWebEngine dependency 2024-04-21 22:27:50 -05: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
mosfet80
4b7b09d1f8 Clean FindEigen3.cmake (#12632) 2024-04-01 10:47:19 -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