Commit Graph

25 Commits

Author SHA1 Message Date
Adrián Insaurralde Avalos
2a1d4d4994 fix use ccache by default on most systems 2023-07-27 08:31:04 -04:00
Adrián Insaurralde Avalos
1d7fb46f89 Add FREEECAD_USE_CCACHE cmake option
Defaults to ON except for conda compilation on windows
2023-07-18 11:46:04 -04:00
sliptonic
127afb981f Merge pull request #9773 from adrianinsaval/defaultEnableFlatMesh
cmake: enable BUILD_FLAT_MESH by default
2023-07-10 09:54:58 -05:00
Adrian Insaurralde Avalos
0ef101d817 Add cmake option FREECAD_USE_EXTERNAL_FMT to turn on/off system fmt use
defaults to ON
2023-07-02 01:38:26 -04:00
Adrián Insaurralde Avalos
0bd56851ac update libpack download hint [skip ci] 2023-06-27 13:49:16 -04:00
Adrián Insaurralde Avalos
93f9a34b40 cmake: enable BUILD_FLAT_MESH by default 2023-06-14 12:07:06 -04:00
Chris Hennes
67638c3701 CMake: Remove last vestige of raytracing 2023-06-06 07:37:15 -05:00
Pesc0
876601d34d Remove all PyQt references 2023-03-31 10:36:04 +02:00
Andrew
a75f194af7 Remove unused mod complete 2023-03-27 19:45:57 +02:00
wmayer
706b259cee Image: remove module 2023-03-22 16:25:19 +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
wmayer
d7313598aa CMake: disable Drawing module by default 2022-06-25 18:10:06 +02: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
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
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
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
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
vocx-fc
f4ff61c354 Complete: do not build the Complete workbench because it is empty
If it is "built", it can be hidden by commenting out the last line
which adds it to the system:
`# Gui.addWorkbench(CompleteWorkbench())`
2020-10-06 12:34:33 +02:00
wmayer
f4dcd0a5f9 Cloud: [skip ci] add build option to compile Cloud module 2020-02-20 22:10:17 +01:00
looooo
b630772afc python: add option INSTALL_TO_SITEPACKAGES
If INSTALL_TO_SITEPACKAGES is enabled, the freecad-namespace package (freecad/__init__.py) is installed in the python-sitepackage-dir. Further, the library install path (CMAKE_INSTALL_LIBDIR)
is used to find the FreeCAD shared library. If, for some reason, one wants to import another installed FreeCAD version it's possible to set the environment variable "PATH_TO_FREECAD_LIBDIR" to
point to the wanted FreeCAD-library (FreeCAD.so / FreeCAD.dll)
2020-01-07 07:28:25 -03:00
wmayer
ead9c5c670 Build option: do not force PCL to be always enabled on Win32, add option to allow to disable it 2019-11-29 16:15:16 +01:00
wmayer
281a2772f3 Add option to copy required plugins from LibPack to build directory 2019-11-29 13:38:06 +01: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