avrdude/src/windows.rc.in

123 lines
3.8 KiB
Plaintext

//
// avrdude - A Downloader / Uploader for AVR device programmers
// Copyright(C) 2021 Marius Greuel
//
// This program is free software; you can redistribute itand /or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.If not, see < http://www.gnu.org/licenses/>.
//
#include "winres.h"
#pragma code_page(1252)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
100 "AVRDUDE"
END
#cmakedefine PROJECT_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#ifdef PROJECT_VERSION_MAJOR
#define VER_MAJOR PROJECT_VERSION_MAJOR
#else
#define VER_MAJOR 0
#endif
#cmakedefine PROJECT_VERSION_MINOR @PROJECT_VERSION_MINOR@
#ifdef PROJECT_VERSION_MINOR
#define VER_MINOR PROJECT_VERSION_MINOR
#else
#define VER_MINOR 0
#endif
#cmakedefine PROJECT_VERSION_PATCH @PROJECT_VERSION_PATCH@
#ifdef PROJECT_VERSION_PATCH
#define VER_BUILD PROJECT_VERSION_PATCH
#else
#define VER_BUILD 0
#endif
#cmakedefine PROJECT_VERSION_TWEAK @PROJECT_VERSION_TWEAK@
#ifdef PROJECT_VERSION_TWEAK
#define VER_REVISION PROJECT_VERSION_TWEAK
#else
#define VER_REVISION 0
#endif
#cmakedefine GIT_COMMIT_YEAR "@GIT_COMMIT_YEAR@"
#ifdef GIT_COMMIT_YEAR
#define VER_COMMIT_YEAR GIT_COMMIT_YEAR
#else
#define VER_COMMIT_YEAR ""
#endif
#define _STR(s) #s
#define _VER_STR(a, b, c, d) _STR(a) "." _STR(b) "." _STR(c) "." _STR(d)
#define VER_FILEVERSION VER_MAJOR,VER_MINOR,VER_BUILD,VER_REVISION
#define VER_FILEVERSION_STR _VER_STR(VER_MAJOR, VER_MINOR, VER_BUILD, VER_REVISION)
#define VER_PRODUCTVERSION VER_FILEVERSION
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
#define VER_COMPANYNAME_STR "The AVRDUDE authors"
#define VER_FILEDESCRIPTION_STR "AVRDUDE"
#define VER_PRODUCTNAME_STR "AVRDUDE"
#define VER_INTERNALNAME_STR "avrdude.exe"
#define VER_LEGALCOPYRIGHT_STR "\251 " VER_COMMIT_YEAR " The AVRDUDE authors"
#define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
#define VER_COMMENTS_STR "https://github.com/avrdudes/avrdude"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE 0
#ifdef DEBUG
#define VER_DEBUG VS_FF_DEBUG
#else
#define VER_DEBUG 0
#endif
#define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#define VER_FILEOS VOS__WINDOWS32
#define VER_FILEFLAGS (VER_DEBUG)
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK VER_FILEFLAGSMASK
FILEFLAGS VER_FILEFLAGS
FILEOS VER_FILEOS
FILETYPE VER_FILETYPE
FILESUBTYPE VER_FILESUBTYPE
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP
BEGIN
#ifdef VER_COMMENTS_STR
VALUE "Comments", VER_COMMENTS_STR
#endif
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", VER_INTERNALNAME_STR
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1200 //LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP
END
END