377 Commits

Author SHA1 Message Date
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
looooo
21cdc9ea4a port to smesh 8.3
using #ifdef EXTERNAL_SMESH for the diff
2018-04-28 12:05:30 +02:00
luz.paz
505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
c518744e39 cmake stuff 2018-04-23 09:56:23 +02:00
looooo
d8d79c908e win fixes + pybind11 improvementS 2018-04-23 09:56:23 +02:00
looooo
76b66159b3 MeshFlattening: add function to unwrap face 2018-04-23 09:56:23 +02:00
wmayer
a4ae54f65a remove unneeded cmake switch 2018-04-22 21:22:36 +02:00
Jan Beich
869b5c8918 Explicitly link against -lpthread on Unix
/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_init
>>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp
>>>               src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())

/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_setclock
>>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp
>>>               src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())

/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_destroy
>>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp
>>>               src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())
2018-04-19 15:38:37 +02:00
wmayer
6858146c8a don't make existence of PySide2 mandatory 2018-04-16 13:50:38 +02:00
wmayer
130c44521f start v0.18 development 2018-04-10 13:03:26 +02:00
Fabio Rossi
cee5b2807e Another fix to compile against qt5 with python2 (detection of shiboken2) 2018-02-01 21:43:59 +01:00
triplus
636f361268 Qt5 build related improvements
Addition of PYTHON_SUFFIX and PYTHON_BASENAME available in all build scenarios offers more control when compiling (Py2/Py3/Qt5). Using symlinks as a workaround is not needed anymore.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=10&t=12534&p=208323#p208323
2018-01-09 10:07:05 -02:00