* Added the Netgen Icon file to the VC++ Solution

* Netgen.rc embeds the icon and additional version information directly into the EXE file
* Modified MSVC++ 2008 / 2005 project files to include the resource file
This commit is contained in:
Philippose Rajan 2009-06-01 19:27:29 +00:00
parent a3fcb393b6
commit 35bc5819db
4 changed files with 89 additions and 16 deletions

BIN
windows/netgen.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

51
windows/netgen.rc Normal file
View File

@ -0,0 +1,51 @@
#include<WinVer.h>
// --------------------------------------------------
// File and Product Version information.
// Displayed in the "Version" Tab in Windows
// Explorer after right clicking on the EXE File
#define FILE_VERSION 4,9,9,0
#define FILE_VERSION_STR "4.9.9\0"
#define PRODUCT_VERSION 4,9,9,0
#define PRODUCT_VERSION_STR "4.9.9\0"
// --------------------------------------------------
// Add the Netgen icon to the executable
100 ICON netgen.ico
// Version Data (modify the above DEFINE statements as required)
VS_VERSION_INFO VERSIONINFO
FILEVERSION FILE_VERSION
PRODUCTVERSION PRODUCT_VERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS VS_FF_PRERELEASE
#endif
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "Netgen Meshing Software\0"
VALUE "FileVersion", FILE_VERSION_STR
VALUE "InternalName", "Netgen\0"
VALUE "LegalCopyright", "GNU Public License (GPL)\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename","Netgen.exe\0"
VALUE "ProductName", "Netgen\0"
VALUE "ProductVersion", PRODUCT_VERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

View File

@ -66,6 +66,7 @@
LinkLibraryDependencies="false" LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib" AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib"
ShowProgress="0" ShowProgress="0"
Version=""
LinkIncremental="0" LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;" AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;"
GenerateManifest="true" GenerateManifest="true"
@ -152,6 +153,7 @@
LinkLibraryDependencies="false" LinkLibraryDependencies="false"
AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib" AdditionalDependencies="pthreadVC2.lib tcl85.lib tk85.lib tix84.lib Togl17.lib glu32.lib opengl32.lib"
ShowProgress="0" ShowProgress="0"
Version=""
LinkIncremental="0" LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;" AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;"
GenerateManifest="true" GenerateManifest="true"
@ -241,10 +243,12 @@
LinkLibraryDependencies="false" 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" 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" ShowProgress="0"
Version=""
LinkIncremental="0" LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;" AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;"
GenerateManifest="true" GenerateManifest="true"
EnableUAC="false" EnableUAC="false"
EmbedManagedResourceFile=""
GenerateDebugInformation="false" GenerateDebugInformation="false"
SubSystem="1" SubSystem="1"
OptimizeReferences="2" OptimizeReferences="2"
@ -328,6 +332,7 @@
LinkLibraryDependencies="false" 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" 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" ShowProgress="0"
Version=""
LinkIncremental="0" LinkIncremental="0"
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;" AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;"
GenerateManifest="true" GenerateManifest="true"
@ -428,11 +433,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\csg.hpp" RelativePath="..\libsrc\csg\csg.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\csg\csg.hpp" RelativePath="..\libsrc\include\csg.hpp"
> >
</File> </File>
<File <File
@ -504,11 +509,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\geometry2d.hpp" RelativePath="..\libsrc\geom2d\geometry2d.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\geom2d\geometry2d.hpp" RelativePath="..\libsrc\include\geometry2d.hpp"
> >
</File> </File>
<File <File
@ -608,11 +613,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\linalg\linalg.hpp" RelativePath="..\libsrc\include\linalg.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\linalg.hpp" RelativePath="..\libsrc\linalg\linalg.hpp"
> >
</File> </File>
<File <File
@ -636,11 +641,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\meshing.hpp" RelativePath="..\libsrc\meshing\meshing.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\meshing\meshing.hpp" RelativePath="..\libsrc\include\meshing.hpp"
> >
</File> </File>
<File <File
@ -728,11 +733,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\occ\occgeom.hpp" RelativePath="..\libsrc\include\occgeom.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\occgeom.hpp" RelativePath="..\libsrc\occ\occgeom.hpp"
> >
</File> </File>
<File <File
@ -740,11 +745,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\linalg\opti.hpp" RelativePath="..\libsrc\include\opti.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\opti.hpp" RelativePath="..\libsrc\linalg\opti.hpp"
> >
</File> </File>
<File <File
@ -852,11 +857,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\stlgeom\stlgeom.hpp" RelativePath="..\libsrc\include\stlgeom.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\stlgeom.hpp" RelativePath="..\libsrc\stlgeom\stlgeom.hpp"
> >
</File> </File>
<File <File
@ -920,11 +925,11 @@
> >
</File> </File>
<File <File
RelativePath="..\libsrc\include\visual.hpp" RelativePath="..\libsrc\visualization\visual.hpp"
> >
</File> </File>
<File <File
RelativePath="..\libsrc\visualization\visual.hpp" RelativePath="..\libsrc\include\visual.hpp"
> >
</File> </File>
<File <File
@ -1634,6 +1639,14 @@
> >
</File> </File>
</Filter> </Filter>
<Filter
Name="Resource Files"
>
<File
RelativePath=".\netgen.rc"
>
</File>
</Filter>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>

View File

@ -251,6 +251,7 @@
AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;" AdditionalLibraryDirectories="&quot;$(SolutionDir)..\..\ext_libs\tcl\lib&quot;;&quot;$(SolutionDir)..\..\ext_libs\pthread-w32\lib&quot;;&quot;$(CASROOT)\win32\lib&quot;"
GenerateManifest="true" GenerateManifest="true"
EnableUAC="false" EnableUAC="false"
EmbedManagedResourceFile=""
GenerateDebugInformation="false" GenerateDebugInformation="false"
SubSystem="1" SubSystem="1"
OptimizeReferences="2" OptimizeReferences="2"
@ -1646,6 +1647,14 @@
> >
</File> </File>
</Filter> </Filter>
<Filter
Name="Resource Files"
>
<File
RelativePath=".\netgen.rc"
>
</File>
</Filter>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>