Commit Graph

275 Commits

Author SHA1 Message Date
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
looooo
c74af88e0b port to smesh 8.3
using #ifdef EXTERNAL_SMESH for the diff
2018-04-28 12:05:30 +02:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
d079c2b500 cmake stuff 2018-04-23 09:56:23 +02:00
looooo
aa7030a0ea win fixes + pybind11 improvementS 2018-04-23 09:56:23 +02:00
looooo
e2eb12d6c6 MeshFlattening: add function to unwrap face 2018-04-23 09:56:23 +02:00
wmayer
99b960c408 remove unneeded cmake switch 2018-04-22 21:22:36 +02:00
Jan Beich
20296b5636 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
53f54b62f3 don't make existence of PySide2 mandatory 2018-04-16 13:50:38 +02:00
wmayer
b01b2ef707 start v0.18 development 2018-04-10 13:03:26 +02:00
Fabio Rossi
1a5d14582f Another fix to compile against qt5 with python2 (detection of shiboken2) 2018-02-01 21:43:59 +01:00
triplus
d5639b103f 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
wmayer
79cd8ac90e fix regression of pr1181 2017-12-28 19:06:10 +01:00
looooo
34af865911 add version info to PySide abstraction 2017-12-26 14:50:21 +01:00