michael@0: /////////////////////////// michael@0: // michael@0: // Version michael@0: // michael@0: #include michael@0: michael@0: #include michael@0: michael@0: /* On some evc3/evc4 targets the windows.h doesn't include winver.h or doesn't michael@0: * define needed file version flags, so we redefine them here. michael@0: */ michael@0: #ifndef VS_FF_DEBUG michael@0: # define VS_FF_DEBUG 0x00000001L michael@0: #endif michael@0: michael@0: #ifndef VOS__WINDOWS32 michael@0: # define VOS__WINDOWS32 0x00000004L michael@0: #endif michael@0: michael@0: #ifndef VFT_DLL michael@0: # define VFT_DLL 0x00000002L michael@0: #endif michael@0: michael@0: #ifndef VFT2_UNKNOWN michael@0: # define VFT2_UNKNOWN 0x00000000L michael@0: #endif michael@0: michael@0: #define STRINGIZE(X) STRINGIZE_AUX(X) michael@0: #define STRINGIZE_AUX(X) #X michael@0: michael@0: #define VERSION_ID _STLPORT_MAJOR, _STLPORT_MINOR, _STLPORT_PATCHLEVEL, 0 michael@0: #if !defined (__BORLANDC__) michael@0: # define VERSION_STR STRINGIZE(_STLPORT_MAJOR._STLPORT_MINOR._STLPORT_PATCHLEVEL) michael@0: #else michael@0: /* Borland precompiler happen weird character when trying to transform a michael@0: * macro containing 0 in a character string so we use a workaround for this michael@0: * value. We do not check the major version that will never be 0 again. michael@0: */ michael@0: # if (_STLPORT_MINOR == 0) michael@0: # define _STLP_MINOR "0" michael@0: # else michael@0: # define _STLP_MINOR STRINGIZE(_STLPORT_MINOR) michael@0: # endif michael@0: # if (_STLPORT_PATCHLEVEL == 0) michael@0: # define _STLP_PATCH "0" michael@0: # else michael@0: # define _STLP_PATCH STRINGIZE(_STLPORT_PATCHLEVEL) michael@0: # endif michael@0: # define VERSION_STR STRINGIZE(_STLPORT_MAJOR) "." _STLP_MINOR "." _STLP_PATCH "\0" michael@0: #endif michael@0: michael@0: #if defined (__GNUC__) michael@0: # define LIB_MOTIF "libstlport" michael@0: #else michael@0: # define LIB_MOTIF "stlport" michael@0: #endif michael@0: #define DLLNAME LIB_MOTIF "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0" michael@0: #define DLLNAME2(buildstr) LIB_MOTIF "" STRINGIZE(buildstr) "." STRINGIZE(_STLPORT_MAJOR) "." STRINGIZE(_STLPORT_MINOR) ".dll\0" michael@0: michael@0: VS_VERSION_INFO VERSIONINFO michael@0: FILEVERSION VERSION_ID michael@0: PRODUCTVERSION VERSION_ID michael@0: FILEFLAGSMASK 0x3fL michael@0: michael@0: FILEFLAGS VS_FF_DEBUG michael@0: michael@0: FILEOS VOS__WINDOWS32 michael@0: FILETYPE VFT_DLL michael@0: FILESUBTYPE VFT2_UNKNOWN michael@0: BEGIN michael@0: BLOCK "StringFileInfo" michael@0: BEGIN michael@0: BLOCK "040904B0" michael@0: BEGIN michael@0: VALUE "CompanyName", "STLport Consulting, Inc.\0" michael@0: VALUE "FileDescription", "STLport\0" michael@0: VALUE "FileVersion", VERSION_STR michael@0: VALUE "InternalName", "STLPORT.DLL\0" michael@0: VALUE "LegalCopyright", "Copyright (C) Boris Fomitchev\0" michael@0: #if !defined (BUILD) michael@0: VALUE "OriginalFilename", DLLNAME michael@0: #else michael@0: VALUE "OriginalFilename", DLLNAME2(BUILD) michael@0: #endif michael@0: VALUE "ProductName", "STLport Standard ANSI C++ Library\0" michael@0: VALUE "ProductVersion", VERSION_STR michael@0: #if defined (BUILD_INFOS) michael@0: VALUE "SpecialBuild", STRINGIZE(COMP) " " STRINGIZE(BUILD_INFOS) "\0" michael@0: #endif michael@0: END michael@0: END michael@0: BLOCK "VarFileInfo" michael@0: BEGIN michael@0: VALUE "Translation", 0x409, 1200 michael@0: END michael@0: END