* Changed netgen.lib -> nginterface.lib

* Also pass name of "lib" file to post-build script
* Added the remaining OCC files "*.ixx" and "*.jxx" to solution
* New and improved postBuild_netgen.bat batch file
  - Lot more process feedback
  - More meaningful error messages
  - Also installs nginterface.lib and nginterface.h to "-bin" folder
* Modified MSVC 2008 / 2005 solution files to add the above changes
This commit is contained in:
Philippose Rajan 2009-04-04 21:54:20 +00:00
parent 73451bace6
commit 474d156e61
3 changed files with 206 additions and 41 deletions

View File

@ -42,7 +42,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories=""$(SolutionDir)..";"$(SolutionDir)..\ng";"$(SolutionDir)..\libsrc\include";"$(SolutionDir)..\libsrc\interface";"$(SolutionDir)..\..\ext_libs\tcl\include";"$(SolutionDir)..\..\ext_libs\pthread-w32\include""
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -62,6 +62,7 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib"
ShowProgress="0"
LinkIncremental="0"
@ -70,6 +71,7 @@
EnableUAC="false"
GenerateDebugInformation="true"
SubSystem="1"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -94,7 +96,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
<Configuration
@ -125,7 +127,7 @@
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32;MSVC_EXPRESS;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32;MSVC_EXPRESS;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="1"
@ -145,6 +147,7 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib"
ShowProgress="0"
LinkIncremental="0"
@ -156,6 +159,7 @@
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="0"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -180,7 +184,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
<Configuration
@ -211,7 +215,7 @@
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;;&quot;$(CASROOT)\inc&quot;"
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="1"
@ -231,6 +235,7 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib TKernel.lib TKGeomBase.lib TKMath.lib TKG2d.lib TKG3d.lib TKXSBase.lib TKOffset.lib TKFillet.lib TKShHealing.lib TKMesh.lib TKMeshVS.lib TKTopAlgo.lib TKGeomAlgo.lib TKBool.lib TKPrim.lib TKBO.lib TKIGES.lib TKBRep.lib TKSTEPBase.lib TKSTEP.lib TKSTL.lib TKSTEPAttr.lib TKSTEP209.lib TKXDESTEP.lib TKXDEIGES.lib TKXCAF.lib TKDCAF.lib TKLCAF.lib"
ShowProgress="0"
LinkIncremental="0"
@ -242,6 +247,7 @@
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="0"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -266,7 +272,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
<Configuration
@ -295,7 +301,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;;&quot;$(CASROOT)\inc&quot;"
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -315,6 +321,7 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib TKernel.lib TKGeomBase.lib TKMath.lib TKG2d.lib TKG3d.lib TKXSBase.lib TKOffset.lib TKFillet.lib TKShHealing.lib TKMesh.lib TKMeshVS.lib TKTopAlgo.lib TKGeomAlgo.lib TKBool.lib TKPrim.lib TKBO.lib TKIGES.lib TKBRep.lib TKSTEPBase.lib TKSTEP.lib TKSTL.lib TKSTEPAttr.lib TKSTEP209.lib TKXDESTEP.lib TKXDEIGES.lib TKXCAF.lib TKDCAF.lib TKLCAF.lib"
ShowProgress="0"
LinkIncremental="0"
@ -323,6 +330,7 @@
EnableUAC="false"
GenerateDebugInformation="true"
SubSystem="1"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -347,7 +355,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
</Configurations>
@ -416,11 +424,11 @@
>
</File>
<File
RelativePath="..\libsrc\include\csg.hpp"
RelativePath="..\libsrc\csg\csg.hpp"
>
</File>
<File
RelativePath="..\libsrc\csg\csg.hpp"
RelativePath="..\libsrc\include\csg.hpp"
>
</File>
<File
@ -492,11 +500,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
@ -596,11 +604,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
@ -624,11 +632,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
@ -716,11 +724,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
@ -728,11 +736,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
@ -840,11 +848,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
@ -908,11 +916,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
@ -1570,6 +1578,58 @@
>
</File>
</Filter>
<Filter
Name="Aux Header Files"
>
<File
RelativePath="..\libsrc\occ\Partition_Inter2d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Inter2d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Inter3d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Inter3d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop2d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop2d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop3d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop3d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Spliter.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Spliter.jxx"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>

View File

@ -41,7 +41,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -61,13 +61,16 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib"
ShowProgress="0"
LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;"
GenerateManifest="true"
EnableUAC="false"
GenerateDebugInformation="true"
SubSystem="1"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -95,7 +98,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
<Configuration
@ -126,7 +129,7 @@
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32;MSVC_EXPRESS;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32;MSVC_EXPRESS;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="1"
@ -146,16 +149,19 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib"
ShowProgress="0"
LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;"
GenerateManifest="true"
EnableUAC="false"
GenerateDebugInformation="false"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="0"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -183,7 +189,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
<Configuration
@ -214,7 +220,7 @@
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;;&quot;$(CASROOT)\inc&quot;"
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;WNT;NDEBUG;_CONSOLE;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
StringPooling="true"
RuntimeLibrary="2"
EnableEnhancedInstructionSet="1"
@ -234,17 +240,20 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib TKernel.lib TKGeomBase.lib TKMath.lib TKG2d.lib TKG3d.lib TKXSBase.lib TKOffset.lib TKFillet.lib TKShHealing.lib TKMesh.lib TKMeshVS.lib TKTopAlgo.lib TKGeomAlgo.lib TKBool.lib TKPrim.lib TKBO.lib TKIGES.lib TKBRep.lib TKSTEPBase.lib TKSTEP.lib TKSTL.lib TKSTEPAttr.lib TKSTEP209.lib TKXDESTEP.lib TKXDEIGES.lib TKXCAF.lib TKDCAF.lib TKLCAF.lib"
ShowProgress="0"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;"
GenerateManifest="true"
EnableUAC="false"
GenerateDebugInformation="false"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
OptimizeForWindows98="0"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -272,7 +281,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
<Configuration
@ -301,7 +310,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;$(SolutionDir)..&quot;;&quot;$(SolutionDir)..\ng&quot;;&quot;$(SolutionDir)..\libsrc\include&quot;;&quot;$(SolutionDir)..\libsrc\interface&quot;;&quot;$(SolutionDir)..\..\ext_libs\tcl\include&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\include&quot;;&quot;$(CASROOT)\inc&quot;"
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501"
PreprocessorDefinitions="WIN32;WNT;_DEBUG;_CONSOLE;DEBUG;MSVC_EXPRESS;OCCGEOMETRY;OPENGL;WINVER=0x0501;NGINTERFACE_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@ -321,13 +330,16 @@
/>
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib TKernel.lib TKGeomBase.lib TKMath.lib TKG2d.lib TKG3d.lib TKXSBase.lib TKOffset.lib TKFillet.lib TKShHealing.lib TKMesh.lib TKMeshVS.lib TKTopAlgo.lib TKGeomAlgo.lib TKBool.lib TKPrim.lib TKBO.lib TKIGES.lib TKBRep.lib TKSTEPBase.lib TKSTEP.lib TKSTL.lib TKSTEPAttr.lib TKSTEP209.lib TKXDESTEP.lib TKXDEIGES.lib TKXCAF.lib TKDCAF.lib TKLCAF.lib"
ShowProgress="0"
LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;"
GenerateManifest="true"
EnableUAC="false"
GenerateDebugInformation="true"
SubSystem="1"
ImportLibrary="$(OutDir)\nginterface.lib"
TargetMachine="1"
AllowIsolation="false"
/>
@ -355,7 +367,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Running POSTBUILD Script...."
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot;"
CommandLine="&quot;$(ProjectDir)\postBuild_netgen.bat&quot; &quot;$(ProjectName)&quot; &quot;$(TargetFileName)&quot; &quot;$(ConfigurationName)&quot; &quot;$(ProjectDir)&quot; &quot;nginterface&quot;"
/>
</Configuration>
</Configurations>
@ -1578,6 +1590,58 @@
>
</File>
</Filter>
<Filter
Name="Aux Header Files"
>
<File
RelativePath="..\libsrc\occ\Partition_Inter2d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Inter2d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Inter3d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Inter3d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop2d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop2d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop3d.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Loop3d.jxx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Spliter.ixx"
>
</File>
<File
RelativePath="..\libsrc\occ\Partition_Spliter.jxx"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>

View File

@ -9,30 +9,55 @@ REM ***
REM *** Call from Visual C++ using:
REM *** postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
REM *********************************************************************************
if [%1]==[] goto BuildEventFailed
if [%1]==[] goto InputParamsFailed
set PROJ_NAME=%~1
set PROJ_EXEC=%~2
set BUILD_TYPE=%~3
set PROJ_DIR=%~4
set LIB_NAME=%~5
REM *** Change these Folders if required ***
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
set INSTALL_FOLDER=%PROJ_DIR%%BUILD_TYPE%-bin
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
set NETGEN_LIBINC=%PROJ_DIR%..\libsrc\include
REM *** Start the Installation procedure ***
echo POSTBUILD Script for %PROJ_NAME% ........
REM *** Embed the Windows Manifest into the Executable File ***
echo Embedding Manifest into the executable: %PROJ_EXEC% ....
mt.exe -manifest "%BUILD_TYPE%\%PROJ_EXEC%.intermediate.manifest" "-outputresource:%BUILD_TYPE%\%PROJ_EXEC%;1"
if errorlevel 1 goto BuildEventFailed
if errorlevel 1 goto ManifestFailed
echo Embedding Manifest into the executable: Completed OK!!
REM *** Copy the TCL files and the executable to the Install Folder ***
echo Installing required files into %INSTALL_FOLDER% ....
REM *** Copy the core TCL files into the Install Folder ***
echo Installing core TCL files into %INSTALL_FOLDER% ....
xcopy "%NETGEN_TCLSRC%\*.tcl" "%INSTALL_FOLDER%" /i /d /y
if errorlevel 1 goto BuildEventFailed
if errorlevel 1 goto CoreTCLFailed
echo Installing core TCL Files: Completed OK!!
REM *** Copy any more auxiliary TCL files into the Install Folder ***
REM if errorlevel 1 goto AuxTCLFailed
REM echo Installing auxiliary TCL Files: Completed OK!!
REM *** Copy the primary Netgen executable file into the Install Folder ***
echo Installing %PROJ_EXEC% into %INSTALL_FOLDER% ....
xcopy "%PROJ_DIR%%BUILD_TYPE%\%PROJ_EXEC%" "%INSTALL_FOLDER%" /i /d /y
if errorlevel 1 goto BuildEventFailed
if errorlevel 1 goto ExecInstallFailed
echo Installing %PROJ_EXEC%: Completed OK!!
REM *** Copy the primary Netgen library and include files into the Install Folder ***
echo Installing %LIB_NAME%.lib into %INSTALL_FOLDER% ....
xcopy "%PROJ_DIR%%BUILD_TYPE%\%LIB_NAME%.lib" "%INSTALL_FOLDER%" /i /d /y
if errorlevel 1 goto LibInstallFailed
echo Installing %LIB_NAME%.lib: Completed OK!!
echo Installing %LIB_NAME%.h into %INSTALL_FOLDER% ....
xcopy "%NETGEN_LIBINC%\%LIB_NAME%.h" "%INSTALL_FOLDER%" /i /d /y
if errorlevel 1 goto LibInstallFailed
echo Installing %LIB_NAME%.h: Completed OK!!
REM *** Done with the installation routine ***
REM *** Clean up the build directory by deleting the OBJ files ***
REM echo Deleting the %PROJ_NAME% build folder %PROJ_DIR%%PROJ_NAME% ....
@ -40,8 +65,24 @@ REM rmdir %PROJ_DIR%%BUILD_TYPE% /s /q
REM *** If there have been no errors so far, we are done ***
goto BuildEventOK
:BuildEventFailed
echo POSTBUILD Script for %PROJ_NAME% FAILED..... Install Manually !!!
REM *** Error Messages for each stage of the post build process ***
:InputParamsFailed
echo POSTBUILD Script for %PROJ_NAME% FAILED..... Invalid number of input parameters!!!
exit 1
:ManifestFailed
echo POSTBUILD Script for %PROJ_NAME% FAILED..... Manifest not successfully embedded!!!
exit 1
:CoreTCLFailed
echo POSTBUILD Script for %PROJ_NAME% FAILED..... Error copying core TCL Files into install folder!!!
exit 1
:ExecInstallFailed
echo POSTBUILD Script for %PROJ_NAME% FAILED..... Error copying the netgen executable into install folder!!!
exit 1
:LibInstallFailed
echo POSTBUILD Script for %PROJ_NAME% FAILED..... Error copying %LIB_NAME%.lib or %LIB_NAME%.h into install folder!!!
exit 1
:BuildEventOK
echo POSTBUILD Script for %PROJ_NAME% completed OK.....!!