Commit Graph

288 Commits

Author SHA1 Message Date
wmayer
cd4269e6af rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options 2019-04-15 13:31:31 +02:00
wmayer
3e510505b8 rename MP_COMPILE_FLAG to FREECAD_USE_MP_COMPILE_FLAG to be consistent with other build options 2019-04-15 13:20:47 +02:00
MA-DEVELOP\apeltauer
debcb95709 make the /mp compile flag optional 2019-04-14 19:36:28 +02:00
MA-LAPTOP\apeltauer
5407d31c6b Build with Multiple Processes, decreases the build time 2019-04-08 13:21:41 +02:00
wmayer
45a5bb6a1b use a combo box to choose between Qt's webkit and WebEngine modules 2019-04-04 12:55:56 +02:00
Markus Lampert
67a9e861a1 Make QtWebKit the default package to look for and add build switch to force QtWebEngine. 2019-04-04 12:15:29 +02:00
wmayer
6e28178c22 use STATUS in message command as otherwise in the GUI of cmake output will be in red and thus might be confusing 2019-03-31 10:29:00 +02:00
Stian Skjelstad
82cb0dac8c Make a report after you run cmake to show the different status of the libraries that might be used. This should make it easier for new persons to build FreeCAD. Some of the detection routines might output error messages doing different ways if detection, so finding the real error that causes cmake to fail can be hard. Can also be usefull for future bug-reports. 2019-03-31 10:23:59 +02:00
Stian Skjelstad
1036a9eeaf Detect QT5 by using REQUIRED flag instead of checking if QT5Core is present at the end. If Qt5WebKitWidgets for instance fails, we end up with build-success, but runtime-loading errors due to unresolved symbols and views not working. 2019-03-31 10:21:29 +02:00
Stian Skjelstad
f442568a9d Use CMAKE_CXX_STANDARD instead of adding details to CMAKE_CXX_FLAGS.
Also add C++20 to the list.

(We might consider removing this whole thing, and guide users to use -DCMAKE_CXX_STANDARD instead)
2019-03-31 10:11:55 +02:00
MA-DEVELOP\apeltauer
370606912a enable qt5 support if qt5core.lib is found 2019-03-30 15:51:10 +01:00
Fredrik Johansson
75fd7231e0 Support QWebEngine BrowserView, QWebkit still suppported through cmake option 2019-03-30 14:10:45 +01:00
wmayer
970af45ae6 set 0.19 development version 2019-03-14 23:10:50 +01:00
looooo
9e86ff440f add cmake_minimum_required to top of CMakeLists.txt and increase minimum Version 2019-03-07 11:10:42 +01:00
triplus
051454314b Extend PySide2 wrapper to support QtUiTools
Reports started to emerge as ATM importing QtUiTools doesn't work on Qt5 builds:

https://forum.freecadweb.org/viewtopic.php?f=22&t=32947
https://forum.freecadweb.org/viewtopic.php?f=37&t=33629
2019-01-25 10:37:21 +01:00
Stian Skjelstad
33dfca95fa Improve messages when trying to detect HDF5 2018-12-24 11:01:39 -02:00
Stian Skjelstad
dccf48d3f4 On my Ubuntu setup, compilation failes when using med.h, since
libmedc is built with openMPI, while freeCAD selects hdf5-serial.

libmed declares functions prototypes which has MPI parameters if
built for openMPI, causing compilation errors. Doing some online
searches reveals that some users manually changes the include-paths
to hdf5-openmpi if this error happens.

This patch tries to autodetect this situation.
2018-12-24 11:01:39 -02:00
Fabio Rossi
92a89d6c2b Avoid overwriting of LDFLAGS for shared libs 2018-12-19 21:54:02 +01:00
lorenz
2e03d2f298 cmake: revert changes for smesh
smesh relevant part of this commit:
6b69a86600
2018-12-01 20:17:37 +01:00
lorenz
c0644b84ed cmake-changes for conda 2018-12-01 14:52:15 -03:00
wmayer
1dded002ca Improve automatic search for matching Shiboken2 config file 2018-11-28 23:05:13 +01:00
Mateusz Skowroński
82fbdbb327 Explicitly set CMake's CMP0072 to OLD. 2018-11-20 09:44:11 +01:00
luz.paz
4c2f2cd210 Misc. typos and whitespace
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm,./ChangeLog.txt" -I ../fc-word-whitelist.txt` and `grep`. Excess whitespace auto-removed by Atom editor.
2018-11-03 16:13:06 -03:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
a53027342e rework error handling mechanism 2018-10-24 19:38:43 +02:00
wmayer
47536dcd37 enable FREECAD_RELEASE_PDB by default, cleanup cmake file, improve whiespaces 2018-10-15 20:11:58 +02:00
Bernd Hahnebach
b0f65e45ba FEM: SMESH, update internal version number 2018-09-26 22:42:13 +02:00
wmayer
30f395761a remove unused option FREECAD_MAINTAINERS_BUILD 2018-09-10 17:42:45 +02:00
Bernd Waibel
1eeb19748b Fix typo in search for OpenGL. 2018-08-31 23:27:10 +02:00
wmayer
82b31d50e5 clean up cmake macros add new macro fc_target_copy_resource_flat 2018-08-19 22:54:33 +02:00
wmayer
3ffd435526 move cmake policy CMP0050 to new style 2018-08-19 13:59:42 +02:00
wmayer
52a5cbe7cf Improve error report about missing boost components 2018-08-13 12:00:09 +02:00
wmayer
c2ab3f02cd remove undesired dependency of Mesh to Part module 2018-07-28 11:58:39 +02:00
wandererfan
e267eac7bb Fix #3329 globalPosition in Stl export 2018-07-27 10:37:06 -03:00
wmayer
d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
Fabio Rossi
f469c9a2c6 Another fix to compile against qt5 with python2 (detection of shiboken2) 2018-07-07 14:09:11 -03:00
Torsten Sadowski
a59e87976f Additional modules for Arch Linux added to VTK_COMPONENTS 2018-06-15 11:30:42 -03:00
Torsten Sadowski
e3f578ee89 Building the FEM module on Arch Linux requires some additions to VTK_LIBRARIES 2018-06-15 11:30:42 -03:00
looooo
d38fabf264 cmake:occt: add fallback 2018-05-31 11:02:33 +02:00
looooo
baed57f01a conda: osx configuration 2018-05-31 11:02:33 +02:00
wmayer
b54f0353b0 revert commit d1588052ff 2018-05-29 09:38:23 +02:00
wmayer
d1588052ff (tmp.) switch off Web module when building with Qt5 2018-05-27 19:03:26 +02:00
looooo
71dd8934a7 add python syntax checker 2018-05-23 19:13:54 +02:00
wmayer
717a4a50a2 increase memory memory on MSVC to fix internal compiler error 2018-05-01 12:15:57 +02:00
wmayer
983f2472a8 more fixes for flatmesh
+ fix gcc warning
+ add conversion function for boost.python
+ switch build off by default due to travis build failure for Py3
2018-04-29 14:50:41 +02:00
wmayer
7ceb9721e3 check for minimum Eigen3 version to build flatmesh module 2018-04-29 13:58:38 +02:00
wmayer
6aeab22842 add switch to toggle building of flat mesh module 2018-04-29 00:03:05 +02:00
wmayer
68cc427b00 Improve handling of external smesh
+ add SMESH_version.h.cmake to set full version number instead of using compiler define
+ do not set include path of smesh globally
+ do not set library path of smesh globally
+ do not set HAVE_NETGEN define globally
+ improve using debug and release libs of smesh for MSVC
2018-04-28 12:10:55 +02:00
looooo
2092afe07f make finding smesh optional 2018-04-28 12:05:30 +02:00
looooo
547cc9f36c external smesh: use version info
for precompiler conditionals
2018-04-28 12:05:30 +02:00