wmayer
0521860740
rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options
2019-04-15 13:31:31 +02:00
wmayer
0c4d9f8b1b
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
569410fff3
make the /mp compile flag optional
2019-04-14 19:36:28 +02:00
MA-LAPTOP\apeltauer
e12d272d0a
Build with Multiple Processes, decreases the build time
2019-04-08 13:21:41 +02:00
wmayer
c2e64c3028
use a combo box to choose between Qt's webkit and WebEngine modules
2019-04-04 12:55:56 +02:00
Markus Lampert
be3651a5f6
Make QtWebKit the default package to look for and add build switch to force QtWebEngine.
2019-04-04 12:15:29 +02:00
wmayer
c0aac1e038
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
c18982a196
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
58db49007c
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
799bcd2681
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
2a390600c9
enable qt5 support if qt5core.lib is found
2019-03-30 15:51:10 +01:00
Fredrik Johansson
0afc292487
Support QWebEngine BrowserView, QWebkit still suppported through cmake option
2019-03-30 14:10:45 +01:00
wmayer
25b4195e69
set 0.19 development version
2019-03-14 23:10:50 +01:00
looooo
31156717b0
add cmake_minimum_required to top of CMakeLists.txt and increase minimum Version
2019-03-07 11:10:42 +01:00
triplus
8a44522550
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
9ccfefb112
Improve messages when trying to detect HDF5
2018-12-24 11:01:39 -02:00
Stian Skjelstad
e0106b946f
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
be90145e90
Avoid overwriting of LDFLAGS for shared libs
2018-12-19 21:54:02 +01:00
lorenz
c075247036
cmake: revert changes for smesh
...
smesh relevant part of this commit:
6b69a86600
2018-12-01 20:17:37 +01:00
lorenz
87056ca60c
cmake-changes for conda
2018-12-01 14:52:15 -03:00
wmayer
0c68abb64c
Improve automatic search for matching Shiboken2 config file
2018-11-28 23:05:13 +01:00
Mateusz Skowroński
11da78f582
Explicitly set CMake's CMP0072 to OLD.
2018-11-20 09:44:11 +01:00
luz.paz
c7785267a7
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
36271b4052
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
d88860a4c1
rework error handling mechanism
2018-10-24 19:38:43 +02:00
wmayer
6e0a90c8f2
enable FREECAD_RELEASE_PDB by default, cleanup cmake file, improve whiespaces
2018-10-15 20:11:58 +02:00
Bernd Hahnebach
ef683ea951
FEM: SMESH, update internal version number
2018-09-26 22:42:13 +02:00
wmayer
12e04498d1
remove unused option FREECAD_MAINTAINERS_BUILD
2018-09-10 17:42:45 +02:00
Bernd Waibel
e7ad824d33
Fix typo in search for OpenGL.
2018-08-31 23:27:10 +02:00
wmayer
ad22eb317e
clean up cmake macros add new macro fc_target_copy_resource_flat
2018-08-19 22:54:33 +02:00
wmayer
5012668a40
move cmake policy CMP0050 to new style
2018-08-19 13:59:42 +02:00
wmayer
30a9354f95
Improve error report about missing boost components
2018-08-13 12:00:09 +02:00
wmayer
5e75f3bc97
remove undesired dependency of Mesh to Part module
2018-07-28 11:58:39 +02:00
wandererfan
e1e5ca413b
Fix #3329 globalPosition in Stl export
2018-07-27 10:37:06 -03:00
wmayer
0260370b65
+ add option to switch off precompiled header
2018-07-25 20:17:11 +02:00
Fabio Rossi
41ec24972b
Another fix to compile against qt5 with python2 (detection of shiboken2)
2018-07-07 14:09:11 -03:00
Torsten Sadowski
a1ab5da899
Additional modules for Arch Linux added to VTK_COMPONENTS
2018-06-15 11:30:42 -03:00
Torsten Sadowski
46f7eab06f
Building the FEM module on Arch Linux requires some additions to VTK_LIBRARIES
2018-06-15 11:30:42 -03:00
looooo
53d6974ba1
cmake:occt: add fallback
2018-05-31 11:02:33 +02:00
looooo
4dd0b07467
conda: osx configuration
2018-05-31 11:02:33 +02:00
wmayer
6af05941b6
revert commit 0262015d1fc
2018-05-29 09:38:23 +02:00
wmayer
9d9f77cea7
(tmp.) switch off Web module when building with Qt5
2018-05-27 19:03:26 +02:00
looooo
6971114cc3
add python syntax checker
2018-05-23 19:13:54 +02:00
wmayer
9cd74b2aa6
increase memory memory on MSVC to fix internal compiler error
2018-05-01 12:15:57 +02:00
wmayer
36ba2bca08
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
a385c66260
check for minimum Eigen3 version to build flatmesh module
2018-04-29 13:58:38 +02:00
wmayer
e7cb8044ca
add switch to toggle building of flat mesh module
2018-04-29 00:03:05 +02:00
wmayer
1633af4b94
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
6548875fb2
make finding smesh optional
2018-04-28 12:05:30 +02:00
looooo
c999ec1960
external smesh: use version info
...
for precompiler conditionals
2018-04-28 12:05:30 +02:00