Commit Graph

342 Commits

Author SHA1 Message Date
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
Chris Hennes
58061500f9 Core: Add libfmt via FetchContent 2023-02-18 12:43:48 -06: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
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
Uwe
a3a1228026 [CMake] improve comment about CMake limit 2023-01-24 21:44:19 -07:00
berniev
0a659c67c0 bump cmake min version to 3.16.3 2023-01-23 22:02:27 -07:00
Adrian Insaurralde Avalos
29937d2224 Unify version patch number management in cmake 2022-12-05 00:26:43 +01:00
wmayer
4e8ecc41b6 QtTest: [skip ci] enable Qt testing framework 2022-12-01 13:57:00 +01:00
berniev
edd6bb53de Introduce GoogleTest C++ unit testing framework 2022-12-01 12:33:14 +01:00
wmayer
189d0a0438 CMake: [skip ci] fix deprecation warning about policy CMP0072 2022-10-24 17:08:04 +02:00
Uwe
552e0bdd3a [core] update version number
NOTE: this is purposely version 0.21, despite the release goal is 1.0
Since we issue weekly builds, people might otherwise misunderstand the version

So first when the release goal is reached, FreeCAD becomes version 1.0
2022-06-20 00:56:55 +02:00
Bernd Waibel
0e8b87bf51 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
41421e0c64 CMake: fix possible linker error when using external SMESH 2021-04-01 13:41:14 +02:00
Chris Hennes
c237fae4aa 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
wmayer
e955864ed2 CMake: workaround for possibly failing OpenGL check in vtk9 2021-01-21 14:47:50 +01:00
wmayer
be8634d05c Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
wmayer
8cd1e1ceba Doc: [skip ci] fix check for doxygen 2020-05-11 10:55:47 +02:00
midgetfc
469cec179b remove obsolete policy stuff 2020-04-24 13:56:49 +02:00
midgetfc
bffcc0292c push cmake minimum version up 2020-04-24 13:56:49 +02:00
donovaly
7c78fe9df1 add missing version info for Win builds
see https://forum.freecadweb.org/viewtopic.php?f=8&t=43099&p=367607#p367607

automate creation of freecad.rc
as proposed in https://forum.freecadweb.org/viewtopic.php?p=367681#p367681
2020-02-14 14:49:25 +01:00
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
ezzieyguywuf
aa7419b203 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
wmayer
177166218d cleanup top-level CMake file 2019-08-25 21:47:31 +02:00
wmayer
8e582d68c4 use GNU directory structure on non-Windows systems 2019-08-22 16:57:11 +02:00
wmayer
ca51dec921 do not force CMAKE_INSTALL_LIBDIR to be an absolute path 2019-08-22 16:57:10 +02:00
wmayer
3bd0e0328e remove /EHs or /EHsc option only for release builds, add /bigobj to release builds 2019-08-10 14:44:26 +02:00
wmayer
e03ae02d41 if SEH option is activated remove compiler flags /EHsc or /EHs to avoid compiler warnings (D9025) 2019-08-02 14:17:38 +02:00
wmayer
559ddec58e do not allow Python to re-define snprintf and vsnprintf for VS 2015 or above to fix build failure with boost 1.69 or later 2019-08-02 14:14:37 +02:00
wmayer
e7ff88a69b workaround for a weird behaviour of Shiboken2Config.cmake that may explicitly set CMAKE_BUILD_TYPE to Release 2019-07-31 13:14:21 +02:00
wmayer
2acda4884b show version info when using external smesh library 2019-07-08 16:54:49 +02:00
luz.paz
9845c002ab Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
Tomas Pavlicek
2c634d84af Add QtXmlPatterns to CMake lists 2019-06-11 15:46:46 -04:00
Sviatoslav Sydorenko
1bc23c4454 Fix print function calls in CMakeLists for py3 2019-06-10 16:34:52 +02:00
luz.paz
2b02659010 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
wmayer
6c50fdb1d6 add option to force different build directory than source directory 2019-05-26 11:46:04 +02:00
Markus Reitboeck
8e8c6dfac0 CMake: generalize start build message
this should work for all generators on all systems
2019-05-26 11:15:24 +02:00
Markus Reitboeck
b83769e066 CMake: no need to set compiler definition _OCC64 twice 2019-05-26 11:04:52 +02:00
Markus Reitboeck
1d9df7eb10 CMake: remove dead code
BuildAll.bat was removed with commit 13408b08ad370eec547b229c1c08a3b9f77e0791
2019-05-26 11:03:25 +02:00
Markus Reitboeck
6fe886a8ea CMake: fix checking if variable is set
CMake documentation:
https://cmake.org/cmake/help/v3.0/command/if.html
2019-05-26 10:59:34 +02:00
Markus Reitboeck
a2d8c3e570 CMake: remove dead code
couldn't find DEBUG/RELEASE_MAIN_OUTPUT_PATH anywhere else
2019-05-26 10:43:26 +02:00
Markus Reitboeck
28456fc312 CMake: cmake module path is assumed to be a list
append to it to allow setting it from outside
2019-05-26 10:41:20 +02:00
Markus Reitboeck
106ebf4f64 CMake: setting CCache before calling the project command
as the comment and https://crascit.com/2016/04/09/using-ccache-with-cmake/
suggest, setting CCache should be done before project command,
because then CMake checks if the compiler can be invoked through CCache
2019-05-26 10:38:54 +02:00
Markus Reitboeck
3f8b6fc465 CMake: setting CMake policies should be done before anything else
see note in project command documentation
https://cmake.org/cmake/help/v3.3/command/project.html
2019-05-26 10:37:04 +02:00
Markus Reitboeck
b662fd4f81 CMake: remove _trunk from project name
trunk is a term from version control systems and has nothing to do with
CMake. Now the variable PROJECT_NAME defined by CMake and PACKAGE_NAME
are the same, therefore replaced PACKAGE_NAME with PROJECT_NAME
2019-05-26 10:32:05 +02:00
wmayer
9be45a7981 harmonize whitespace and case-sensitivity 2019-05-25 18:12:30 +02:00
wmayer
9ce1bfca6f fix and improve handling of BUILD_QT5 option 2019-05-25 15:47:02 +02:00
Russell Johnson
f6b18529b7 Windows: Add libpack dependency install support
Add options to copy dependencies from libpack to build directories
Add option to create install commands for INSTALL project in FreeCAD solution
2019-05-25 15:14:33 +02:00
lo
1922c84ca0 cmake: add option to disable linking of python extension modules to python-libraries 2019-05-24 14:37:33 +02:00
MA-DEVELOP\apeltauer
9f6b6d7f36 make Qt5WinExtras package optional 2019-05-10 18:22:32 +02:00
MA-DEVELOP\apeltauer
ca4ca78bd2 make sure QWinTaskbarProgress and QWinTaskbarButton is only used in windows compiles 2019-05-10 18:22:07 +02:00