libver.rc
上传用户:hzhsqp
上传日期:2007-01-06
资源大小:1600k
文件大小:3k
- /*
- * libver.rc
- *
- * Library version resource.
- *
- * Portable Windows Library
- *
- * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
- *
- * The contents of this file are subject to the Mozilla Public License
- * Version 1.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- * the License for the specific language governing rights and limitations
- * under the License.
- *
- * The Original Code is Portable Windows Library.
- *
- * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
- *
- * Contributor(s): ______________________________________.
- */
- #include <winver.h>
- #include "../../../version.h"
- #ifndef PRODUCT
- #define PRODUCT PWLib
- #endif
- #ifndef MANUFACTURER_NAME
- #define MANUFACTURER_NAME "Equivalence Pty. Ltd."
- #endif
- #ifndef PRODUCT_DESCRIPTION
- #define PRODUCT_DESCRIPTION "Equivalence Portable Windows Library"
- #endif
- #define AlphaCode alpha
- #define BetaCode beta
- #define ReleaseCode pl
- #define MkStr2(s) #s
- #define MkStr(s) MkStr2(s)
- #if BUILD_NUMBER==0
- #define VERSION_STRING MkStr(MAJOR_VERSION) "." MkStr(MINOR_VERSION)
- #else
- #define VERSION_STRING MkStr(MAJOR_VERSION) "." MkStr(MINOR_VERSION) MkStr(BUILD_TYPE) MkStr(BUILD_NUMBER)
- #endif
- #ifndef PRODUCT_NAME
- #define PRODUCT_NAME MkStr(PRODUCT)
- #endif
- #ifndef EXECUTABLE_NAME
- #ifdef _DEBUG
- #define EXECUTABLE_NAME PRODUCT_NAME "d.dll"
- #else
- #define EXECUTABLE_NAME PRODUCT_NAME ".dll"
- #endif
- #endif
- VS_VERSION_INFO VERSIONINFO
- #define pl 0
- #define beta 1
- #define alpha 2
- FILEVERSION MAJOR_VERSION,MINOR_VERSION,BUILD_NUMBER,BUILD_TYPE
- PRODUCTVERSION MAJOR_VERSION,MINOR_VERSION,BUILD_NUMBER,BUILD_TYPE
- #undef alpha
- #undef beta
- #undef pl
- FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
- #ifdef _DEBUG
- FILEFLAGS VS_FF_DEBUG
- #else
- FILEFLAGS 0
- #endif
- FILEOS VOS_NT_WINDOWS32
- FILETYPE VFT_APP
- FILESUBTYPE VFT2_UNKNOWN
- BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "0c0904b0"
- BEGIN
- VALUE "CompanyName", MANUFACTURER_NAME "