Show
Ignore:
Timestamp:
05/09/06 17:28:24 (3 years ago)
Author:
patrick
Message:

Fill in the DLL version information automatically. This leverages
existing code in build_windows.py to eliminate the need to increment
the module's version number manually in multiple places.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/tweek/tweek.rc

    r18423 r18811  
    11// Microsoft Visual C++ generated resource script. 
    22// 
     3 
     4#include "tweek/version.rc" 
    35 
    46#define APSTUDIO_READONLY_SYMBOLS 
     
    5355 
    5456VS_VERSION_INFO VERSIONINFO 
    55  FILEVERSION 1,1,3,0 
    56  PRODUCTVERSION 1,1,3,0 
     57 FILEVERSION VERSION_NUM 
     58 PRODUCTVERSION VERSION_NUM 
    5759 FILEFLAGSMASK 0x3fL 
    5860#ifdef _DEBUG 
     
    7274            VALUE "CompanyName", "VR Juggler" 
    7375            VALUE "FileDescription", "Tweek" 
    74             VALUE "FileVersion", "1.1.3.0" 
     76            VALUE "FileVersion", VERSION_STR 
    7577            VALUE "InternalName", "Tweek" 
    76             VALUE "LegalCopyright", "Copyright © 1998–2006" 
     78            VALUE "LegalCopyright", COPYRIGHT_STR 
    7779            VALUE "OriginalFilename", "tweek.dll" 
    7880            VALUE "ProductName", "Tweek" 
    79             VALUE "ProductVersion", "1.1.3.0" 
     81            VALUE "ProductVersion", VERSION_STR 
    8082        END 
    8183    END