Commit Graph

244 Commits

Author SHA1 Message Date
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
wmayer
6eb36447ed fix regression of pr1181 2017-12-28 19:06:10 +01:00
looooo
070395d67c add version info to PySide abstraction 2017-12-26 14:50:21 +01:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown
d949210aed Typos, grammar & uniformiity
3rd party KDL typos have been submitted upstream https://github.com/orocos/orocos_kinematics_dynamics/pull/121
2017-12-13 00:10:46 -05:00
Unknown
3627cf2b1a Typo fix for recent commit
Introduced in 9376138d06
[skip ci]
2017-12-08 10:04:41 -05:00
wmayer
9376138d06 fix cmake build failure 2017-12-07 14:42:38 +01:00
wmayer
885ef4b5bf add combo box to select C++ standard 2017-12-07 12:05:44 +01:00
looooo
a9e1a55175 move PySide abstraction layer to Ext
/bin is not in the python-path for a installed build.
2017-11-03 23:24:08 +01:00
wmayer
af64ffcaf5 check for clang version to disable warning 2017-10-20 16:21:55 +02:00
wmayer
5823aac057 Log used compiler and its version 2017-10-19 10:29:02 +02:00
wmayer
8b2fcf3677 fix several kind of warnings:
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
wmayer
56ac228543 add cmake option to use Qt or native file dialogs 2017-10-12 16:01:24 +02:00
wmayer
cb494198f0 prepare Arch and Path workbench for Qt5 2017-09-21 14:57:20 +02:00
looooo
0139653939 qt5: win: use qtwebkit by default
use -DBUILD_QT5_WEBKIT=OFF to disable qtwebkit for qt5
2017-09-13 08:01:29 +02:00
triplus
8d71bfba72 Complete workbench dependecies
Complete workbench doesn't require any special dependencies anymore.
2017-08-08 18:42:02 -03:00
Janus Troelsen
1fa40d9345 Allow first HDF5, MPI checks to fail (not REQUIRED) 2017-07-17 19:55:07 -03:00
Janus Troelsen
3e017cedaa Do not error when MPI is missing 2017-07-17 19:55:07 -03:00
Janus Troelsen
b76519333f try to use pkg-config to find libhdf5 and openmpi 2017-07-17 19:55:07 -03:00
WandererFan
0a7c6c42ec Fix #3113 TechDraw needs Drawing in cmake
TechDraw/App  Svg/Dxf functions use routines from
Drawing/App/DrawingExport.cpp
2017-07-17 19:47:44 -03:00
wmayer
9513792292 py3: support of Python 3.4 2017-06-06 23:49:42 +02:00
looooo
b91e960c5c py3: /cMake gathering commits for cmake
mostly this changes are necessary to build FreeCAD with py3 (and conda) on windows.
issue 0000995
2017-06-01 19:42:13 +02:00
NateAM
6f4e3acce4 Added Surface module
I have added Nate's SurfaceTools module with the name changed to Surface in all files and filenames.
2017-04-17 16:20:44 +02:00
wmayer
c193dbe2b3 enable FREECAD_USE_QTOPENGL_WIDGET by default for Qt5, fixes #0002952, fixes #0001401 2017-03-21 20:37:03 +01:00
wmayer
c17e9a2964 add option to switch between old and new OpenGL classes of Qt 2017-03-21 20:37:03 +01:00
looooo
0196d50c48 cmake: reset shiboken-cmake-suffix for python < 3 2017-03-07 13:57:11 -03:00
Yorik van Havre
2f93571c46 Fixed python3 mistake in main cmake file 2017-03-04 12:59:48 -03:00
Yorik van Havre
cafd49d62e Fixed another typo 2017-03-03 21:39:48 -03:00
Yorik van Havre
624ac0d4df Removed wrong typo fix 2017-03-03 13:42:06 -03:00
looooo
81884f787a py3: gathering diff for CMakeList.txt
fe96347c28039e97a0acdc37f7df9861ffc96eda
33073603bd3b20a2debb9444a7247266f658baaa
6400fcca2cb8f5fde95013d4de97c2c45f3bb4e7
7c50633c8efc6d65d96f1b6f820c89320eabe1dc
2017-03-03 12:06:42 -03:00
Priit Laes
4db04840b1 python: We only support 2.7.x
Python 2.7 is currently the only upstream-supported 2.x version.
Python 2.6 is not supported by upstream since 2013 and there will be no 2.8
2017-03-03 12:06:42 -03:00
Kunda
a3e01788df Trivial typos
CmakeLists
.travis.yml
2017-03-01 15:33:52 -08:00
Bruce B. Lacey
d964187504 Install macOS bundle executables into MacOS
* Previously, the macOS bundle executables were installed into
    bin which does not adhere to Apple guidelines and causes
    issues with certain frameworks like Qt.  The install has
    been refactored to install the executables into MacOS

Fixes #2928
2017-03-01 09:33:28 +01:00
wmayer
5eedcc4651 make cmake configure version with older versions 2017-02-25 13:52:45 +01:00