diff src/win32/VersionInfo.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/VersionInfo.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,33 @@
     1.4 +#ifndef VBA_VERSIONINFO_H
     1.5 +#define VBA_VERSIONINFO_H
     1.6 +
     1.7 +#if _MSC_VER > 1000
     1.8 +#pragma once
     1.9 +#endif // _MSC_VER > 1000
    1.10 +
    1.11 +#include "../version.h"
    1.12 +
    1.13 +#if SVN_REV > 65535
    1.14 +#	define VBA_RR_BUILD_NO 0
    1.15 +#else
    1.16 +#	define VBA_RR_BUILD_NO SVN_REV
    1.17 +#endif
    1.18 +
    1.19 +// diaplayed in the file attribute dialog
    1.20 +#define VBA_VERSIONINFO_FILEVER        7, VBA_RR_MAJOR_VERSION_NO, VBA_RR_MINOR_VERSION_NO, VBA_RR_BUILD_NO
    1.21 +#define VBA_VERSIONINFO_STRFILEVER     STRINGIZE_VALUE(VBA_VERSIONINFO_FILEVER) "\0"
    1.22 +
    1.23 +#define VBA_VERSIONINFO_PRODUCTVER     VBA_VERSIONINFO_FILEVER
    1.24 +#define VBA_VERSIONINFO_STRPRODUCTVER  VBA_VERSIONINFO_STRFILEVER
    1.25 +#define VBA_VERSIONINFO_STRCOPYRIGHT   "Copyright (C) 2005-2011 VBA-RR Development Team"
    1.26 +#define VBA_VERSIONINFO_ORGANIZATION   VBA_RR_SITE
    1.27 +
    1.28 +#ifdef _DEBUG
    1.29 +#	define VBA_VERSIONINFO_FILEFLAGS    VS_FF_DEBUG
    1.30 +#elif defined(PUBLIC_RELEASE)
    1.31 +#	define VBA_VERSIONINFO_FILEFLAGS    0
    1.32 +#else
    1.33 +#	define VBA_VERSIONINFO_FILEFLAGS    VS_FF_PRERELEASE
    1.34 +#endif
    1.35 +
    1.36 +#endif // VBA_VERSIONINFO_H