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
This commit is contained in:
wmayer
2018-04-28 12:10:55 +02:00
parent 2092afe07f
commit 68cc427b00
18 changed files with 71 additions and 70 deletions

View File

@@ -34,9 +34,7 @@
#include <Base/Console.h>
#include <SMESH_Gen.hxx>
#if SMESH_VERSION_MAJOR >= 7
#include <SMESHDS_Mesh.hxx>
#endif
#include <SMESHDS_Mesh.hxx>
#include <SMESH_Mesh.hxx>
#include <SMDS_PolyhedralVolumeOfNodes.hxx>