Build NETGENPLUGIN under Windows platform.

This commit is contained in:
rnv 2021-10-08 11:50:58 +03:00
parent a8606239fd
commit 77c1c9be98
3 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ INCLUDE_DIRECTORIES(
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${PROJECT_BINARY_DIR}/idl
${NETGEN_ZLIB_INCLUDE_DIRS}
)
# additional preprocessor / compiler flags

View File

@ -35,7 +35,7 @@
#define NETGENPLUGIN_EXPORT __declspec( dllimport )
#endif
#if defined(NETGEN_V5)
#if defined(NETGEN_V5) || defined(NETGEN_V6)
#define NETGENPLUGIN_DLL_HEADER DLL_HEADER
#else
#define NETGENPLUGIN_DLL_HEADER

View File

@ -66,7 +66,7 @@ namespace netgen {
namespace nglib
{
NETGENPLUGIN_DLL_HEADER
extern netgen::Array<netgen::Point<3> > readedges;
extern netgen::NgArray<netgen::Point<3> > readedges;
}
namespace