Commit Graph

318 Commits

Author SHA1 Message Date
Adrián Insaurralde Avalos
1afcd64ebf 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
Adrián Insaurralde Avalos
4ccf7a87a9 fix use ccache by default on most systems 2023-07-27 08:31:04 -04:00
wmayer
8c0fd2706a Qt6: fix possible build failure
* add CMake definitions 'QT_NO_KEYWORDS' to avoid the Qt definition of the 'slots' macro that causes a conflict when including Python headers
* drop QT3_SUPPORT define
2023-07-20 08:58:56 -05:00
wmayer
0fcdeded7a CMake: improve handling of shiboken/PySide
* fix syntax error with message()
* if shiboken/PySide cannot be found print a warning instead of fatal error. Especially for Qt6 builds a self-compiled shiboken6/PySide6 is required that isn't necessarily installed into the system directories so that the (system) Python interpreter may fail to find them
2023-07-20 08:58:56 -05:00
Adrián Insaurralde Avalos
ef0e1e771e Add FREEECAD_USE_CCACHE cmake option
Defaults to ON except for conda compilation on windows
2023-07-18 11:46:04 -04:00
sliptonic
5a67aabf8d Merge pull request #9797 from mosfet80/patch-5
clean FindCoin3DDoc.cmake
2023-07-10 09:59:09 -05:00
sliptonic
8043fc4936 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
b7814c46ad 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
mosfet80
f98e5b4e58 check correct Eigen3 required version
https://wiki.freecad.org/Third_Party_Libraries say minimum eigen3 are v3.0
2023-06-30 10:14:38 -04:00
mosfet80
a12c89373a Merge branch 'FreeCAD:master' into patch-5 2023-06-30 08:04:30 +02:00
Adrián Insaurralde Avalos
cea68484cd update libpack download hint [skip ci] 2023-06-27 13:49:16 -04:00
mosfet80
d8e0b355d4 clean FindCoin3DDoc.cmake
clean FindCoin3DDoc.cmake
2023-06-20 00:00:58 +02:00
Adrián Insaurralde Avalos
764e074528 cmake: enable BUILD_FLAT_MESH by default 2023-06-14 12:07:06 -04:00
Chris Hennes
940f4f7cfa CMake: Remove last vestige of raytracing 2023-06-06 07:37:15 -05:00
wmayer
bfd19dc93d fixes #9523: CMake Error at cMake/FreeCAD_Helpers/SetupEigen.cmake 2023-05-17 14:39:11 +02:00
sliptonic
2451ca8ca6 remove dependency on robot 2023-05-12 09:20:20 -05:00
wmayer
cc35c6167c Gui: Create .qm out of .ts files 2023-05-07 08:52:49 +02:00
wmayer
7cdbccd3d5 Core: add CMake functions to create .qm out of .ts files 2023-05-07 08:39:55 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Pesc0
99e13d9529 Remove all PyQt references 2023-03-31 10:36:04 +02:00
Andrew
28d194819c Remove unused mod complete 2023-03-27 19:45:57 +02:00
wmayer
3e3540192b Image: remove module 2023-03-22 16:25:19 +01:00
wmayer
602de2ace8 CMake: add Qt's WinExtra module 2023-03-13 18:14:11 +01:00
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