* Added empty macro definition "Standard_EXPORT" in Visual C++ Project files to prevent OpenCascade from exporting internal symbols through Netgen and Nglib

- Results in a cleaner interface in the Netgen and Nglib exports
This commit is contained in:
Philippose Rajan 2010-03-21 20:55:57 +00:00
parent d8728ec8fc
commit 00d8c320ff
2 changed files with 30 additions and 30 deletions

View File

@ -415,7 +415,7 @@
FavorSizeOrSpeed="1"
WholeProgramOptimization="true"
AdditionalIncludeDirectories=""$(SolutionDir)..";"$(SolutionDir)..\ng";"$(SolutionDir)..\libsrc\include";"$(SolutionDir)..\libsrc\interface";"$(SolutionDir)..\..\ext_libs\tcl\include";"$(SolutionDir)..\..\ext_libs\pthread-w32\include";"$(CASROOT)\inc""
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;Standard_EXPORT=;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="1"
@ -510,7 +510,7 @@
FavorSizeOrSpeed="1"
WholeProgramOptimization="true"
AdditionalIncludeDirectories=""$(SolutionDir)..";"$(SolutionDir)..\ng";"$(SolutionDir)..\libsrc\include";"$(SolutionDir)..\libsrc\interface";"$(SolutionDir)..\..\ext_libs\tcl-64\include";"$(SolutionDir)..\..\ext_libs\pthread-w64\include";"$(CASROOT)\inc""
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;_OCC64;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;_OCC64;Standard_EXPORT=;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="1"
@ -602,7 +602,7 @@
EnableIntrinsicFunctions="false"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=""$(SolutionDir)..";"$(SolutionDir)..\ng";"$(SolutionDir)..\libsrc\include";"$(SolutionDir)..\libsrc\interface";"$(SolutionDir)..\..\ext_libs\tcl\include";"$(SolutionDir)..\..\ext_libs\pthread-w32\include";"$(CASROOT)\inc""
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;Standard_EXPORT=;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -691,7 +691,7 @@
EnableIntrinsicFunctions="false"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=""$(SolutionDir)..";"$(SolutionDir)..\ng";"$(SolutionDir)..\libsrc\include";"$(SolutionDir)..\libsrc\interface";"$(SolutionDir)..\..\ext_libs\tcl-64\include";"$(SolutionDir)..\..\ext_libs\pthread-w64\include";"$(CASROOT)\inc""
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;_OCC64;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;_OCC64;Standard_EXPORT=;OCCGEOMETRY;OPENGL;_WIN32_WINNT=0x0502;NGINTERFACE_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -944,11 +944,11 @@
>
</File>
<File
RelativePath="..\libsrc\gprim\gprim.hpp"
RelativePath="..\libsrc\include\gprim.hpp"
>
</File>
<File
RelativePath="..\libsrc\include\gprim.hpp"
RelativePath="..\libsrc\gprim\gprim.hpp"
>
</File>
<File
@ -1032,11 +1032,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\meshing.hpp"
RelativePath="..\libsrc\meshing\meshing.hpp"
>
</File>
<File
RelativePath="..\libsrc\meshing\meshing.hpp"
RelativePath="..\libsrc\include\meshing.hpp"
>
</File>
<File
@ -1116,11 +1116,11 @@
>
</File>
<File
RelativePath="..\libsrc\occ\occgeom.hpp"
RelativePath="..\libsrc\include\occgeom.hpp"
>
</File>
<File
RelativePath="..\libsrc\include\occgeom.hpp"
RelativePath="..\libsrc\occ\occgeom.hpp"
>
</File>
<File
@ -1128,11 +1128,11 @@
>
</File>
<File
RelativePath="..\libsrc\linalg\opti.hpp"
RelativePath="..\libsrc\include\opti.hpp"
>
</File>
<File
RelativePath="..\libsrc\include\opti.hpp"
RelativePath="..\libsrc\linalg\opti.hpp"
>
</File>
<File
@ -1240,11 +1240,11 @@
>
</File>
<File
RelativePath="..\libsrc\stlgeom\stlgeom.hpp"
RelativePath="..\libsrc\include\stlgeom.hpp"
>
</File>
<File
RelativePath="..\libsrc\include\stlgeom.hpp"
RelativePath="..\libsrc\stlgeom\stlgeom.hpp"
>
</File>
<File
@ -1308,11 +1308,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\visual.hpp"
RelativePath="..\libsrc\visualization\visual.hpp"
>
</File>
<File
RelativePath="..\libsrc\visualization\visual.hpp"
RelativePath="..\libsrc\include\visual.hpp"
>
</File>
<File

View File

@ -378,7 +378,7 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="&quot;$(CASROOT)\inc&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\nglib&quot;;&quot;$(SolutionDir)..\&quot;"
PreprocessorDefinitions="WNT;WIN32;NDEBUG;_WINDOWS;_USRDLL;NGLIB_EXPORTS;MSVC_EXPRESS;OCCGEOMETRY;_WIN32_WINNT=0x0502"
PreprocessorDefinitions="WNT;WIN32;NDEBUG;_WINDOWS;_USRDLL;NGLIB_EXPORTS;MSVC_EXPRESS;Standard_EXPORT=;OCCGEOMETRY;_WIN32_WINNT=0x0502"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
EnableEnhancedInstructionSet="1"
@ -462,7 +462,7 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="&quot;$(CASROOT)\inc&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w64\include&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\nglib&quot;;&quot;$(SolutionDir)..\&quot;"
PreprocessorDefinitions="WNT;WIN32;NDEBUG;_WINDOWS;_USRDLL;NGLIB_EXPORTS;MSVC_EXPRESS;OCCGEOMETRY;_OCC64;_WIN32_WINNT=0x0502"
PreprocessorDefinitions="WNT;WIN32;NDEBUG;_WINDOWS;_USRDLL;NGLIB_EXPORTS;MSVC_EXPRESS;Standard_EXPORT=;OCCGEOMETRY;_OCC64;_WIN32_WINNT=0x0502"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
EnableEnhancedInstructionSet="1"
@ -1170,11 +1170,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\geometry2d.hpp"
RelativePath="..\libsrc\geom2d\geometry2d.hpp"
>
</File>
<File
RelativePath="..\libsrc\geom2d\geometry2d.hpp"
RelativePath="..\libsrc\include\geometry2d.hpp"
>
</File>
<File
@ -1214,11 +1214,11 @@
>
</File>
<File
RelativePath="..\libsrc\gprim\gprim.hpp"
RelativePath="..\libsrc\include\gprim.hpp"
>
</File>
<File
RelativePath="..\libsrc\include\gprim.hpp"
RelativePath="..\libsrc\gprim\gprim.hpp"
>
</File>
<File
@ -1270,11 +1270,11 @@
>
</File>
<File
RelativePath="..\libsrc\linalg\linalg.hpp"
RelativePath="..\libsrc\include\linalg.hpp"
>
</File>
<File
RelativePath="..\libsrc\include\linalg.hpp"
RelativePath="..\libsrc\linalg\linalg.hpp"
>
</File>
<File
@ -1294,11 +1294,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\meshing.hpp"
RelativePath="..\libsrc\meshing\meshing.hpp"
>
</File>
<File
RelativePath="..\libsrc\meshing\meshing.hpp"
RelativePath="..\libsrc\include\meshing.hpp"
>
</File>
<File
@ -1334,11 +1334,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\myadt.hpp"
RelativePath="..\libsrc\general\myadt.hpp"
>
</File>
<File
RelativePath="..\libsrc\general\myadt.hpp"
RelativePath="..\libsrc\include\myadt.hpp"
>
</File>
<File
@ -1374,11 +1374,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\opti.hpp"
RelativePath="..\libsrc\linalg\opti.hpp"
>
</File>
<File
RelativePath="..\libsrc\linalg\opti.hpp"
RelativePath="..\libsrc\include\opti.hpp"
>
</File>
<File