Commit Graph

404 Commits

Author SHA1 Message Date
Chris Hennes
06143dcb15 Merge pull request #17000 from pskowronskiTDx/tdx-mac
Enabling 3Dconnexion NavLib integration for MacOS
2025-01-24 08:09:29 -06:00
João Matos
e697eddd06 CMake: Allow using symlinks for installed files. (#19043)
* CMake: Allow using symlinks for installed files.
2025-01-21 11:35:53 -06:00
João Matos
97e24f10f8 CMake: Improve Import dependency check for TechDraw module. (#19036)
* CMake: Fix missing Import dependency check for TechDraw module.

* CMake/TechDraw: Conditionally use Import library.

* CMake: Fix missing dependency check for Module and PartDesign measure in TechDraw.
2025-01-19 13:33:16 -06:00
Chris Hennes
b06693ffa2 Merge pull request #18783 from tritao/cmake-coin-target
CMake: Coin3D build fixes
2025-01-18 12:50:57 -05:00
tritao
b064827bea CMake: Issue a non-fatal error when module dependency is not found. 2025-01-14 15:45:21 -06:00
Patryk Skowroński
481a7915eb Merge branch 'main' into tdx-mac 2025-01-09 16:07:02 +01:00
Patryk Skowroński
4fff527b1f Fixed CMake files for a runtime switch 2025-01-09 16:03:51 +01:00
Joao Matos
02dc93ebea CMake: Try searching for Coin3D in config mode 2024-12-28 20:49:36 +00:00
Joao Matos
f1e6f03141 CMake: Use Coin3d CMake target directly if one exists. 2024-12-28 20:49:01 +00:00
luzpaz
2902ea4995 Trim lines ending with superfluous whitespace 2024-12-22 08:50:37 -05:00
wmayer
db1b1d8108 MSVC: Fix linking error when 3Dconnexion support is set to 'Raw input' 2024-12-20 18:32:09 -05:00
Furgo
568c869dcb Disable external zipios usage for Debian builds 2024-12-14 10:49:32 -05:00
Chris Mayo
43c3b5c5ff Remove LibPack FLANN comment
cMake/UseLibPack10x.cmake was removed in:
28f9c92851 ("Remove unused cMakes", 2022-02-22)
2024-12-13 21:19:36 +01:00
Patryk Skowroński
ff4324dc9f Merge branch 'main' into tdx-mac 2024-12-10 12:39:49 +01:00
marioalexis
4c492621fc CMake: Decouple internal SMESH build from Fem build - fixes #18287 2024-12-09 12:09:30 -05:00
wwmayer
575c20886b 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
28752ca05b 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
e2e9406a45 cMake: Update for LibPack 3.1
LibPack 3.1 removes boost-python and adds pybind11
2024-12-09 10:26:00 -05:00
wmayer
4766581f2f CMake: Handle build time checks to choose between modern and/or legacy space mouse devices 2024-12-03 20:32:06 +01:00
mosfet80
22bde65661 Clean FindKDL.cmake
update orocos version used by oldest supported focal fossa
clean cmake
2024-11-22 11:53:12 -05:00
mosfet80
2c95085def [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
50e1eb202b 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
9a8ba08d0a 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
Patryk Skowroński
e37f52f329 CMake build flag fix 2024-10-04 16:02:08 +02:00
Patryk Skowroński
9e09330c1c NavLib integration enabled for MacOS 2024-09-16 11:19:25 +02:00
Jacob Oursland
18ab7acd73 Windows: Make FreeCAD.exe debuggable on PDB builds. 2024-09-13 12:30:10 -06:00
mosfet80
1088ecaf09 fix CXX standard selection
only   CXX 23, 20 and 17 standards are allowed
2024-09-11 21:08:44 +02:00
Chris Hennes
de907a08e3 cMake: Add option to use C++23 2024-09-02 18:03:33 +02:00
bgbsww
608c80b5a3 Toponaming: Remove remaining FC_USE_TNP_FIX defines 2024-08-31 13:21:10 -05:00
marcuspollio
980a0afaa0 cmake: update BUILD_PATH to BUILD_CAM (#16040) 2024-08-26 11:27:09 -05:00
Ladislav Michl
0931da2674 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
ffa658384d cMake: Adjust to the new names of find_pip_package return variables
Fixes: 55383a76419f ("Update for LibPack3")
2024-08-14 09:46:51 +02:00
Chris Hennes
1f67a96a66 cMake: ensure the Shiboken target exists before using it 2024-08-05 10:46:22 -04:00
Jacob Oursland
ada449f7f2 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
ddea2d7560 remove qtxmlpatterns from cmake scripts 2024-07-15 11:29:01 -05:00
Chris Hennes
b61246b9fb cMake: Fix LibPack3 install target DLL locations 2024-07-10 13:17:58 -05:00
Chris Hennes
321fbc544b cMake: Fix extra copy line for printsupport plugins 2024-07-08 08:44:18 -05:00
Chris Hennes
cc2883312b cMake: Remove use of Core5Compat from Qt6 2024-07-08 11:59:09 +02:00
Chris Hennes
a42a961b76 cMake: Make a failure to import Pivy non-fatal 2024-06-28 19:29:53 -05:00
Chris Hennes
7487251d0c cMake: Fix ENDIF() and clean up formatting 2024-06-28 13:50:30 -05:00
Chris Hennes
5e47f6804f 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
6c747178cf 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
1f4b8d74d5 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
560cab6f31 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
9ef8cf58b3 Correct flag 2024-05-20 12:40:52 -05:00
Chris Hennes
56923c5476 Toponaming: Enable FC_USE_TNP_FIX code 2024-05-20 12:40:52 -05:00
Yorik van Havre
a5e1f64d1f CMAKE: Do not strip lines when creating python resources 2024-05-16 17:23:10 +02:00
Yorik van Havre
f21a3b3ec9 BIM: Renamed Arch to BIM 2024-05-16 17:23:10 +02:00
ppphp
7096125038 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
68ed7c1503 cMake: Restore wrappers for QtWebEngine 2024-05-06 08:08:35 +02:00