source: tspsg/resources/tspsg.rc @ 1299ea5b49

appveyorimgbotreadme
Last change on this file since 1299ea5b49 was 1299ea5b49, checked in by Oleksii Serdiuk, 12 years ago

Updated version info to be set based on git tags.

'git describe' is now used for version definition. Major, minor and
release are taken from the latest git tag. Build is defined as number of
commits since the latest tag. If we're out of source, then .tag file
should contain output of 'git describe --abbrev=40' command.

Also, moved version related code from tspsg.pro to version.pri.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  TSPSG: TSP Solver and Generator
3 *  Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
4 *
5 *  $Id: $Format:%h %ai %an$ $
6 *  $URL: http://tspsg.info/ $
7 *
8 *  This file is part of TSPSG.
9 */
10
11#include <winver.h>
12#include "../src/resource.h"
13#pragma code_page(65001)
14
15LANGUAGE        0x00, 0x00
16
17// Main Icon
18IDI_APPICON     ICON    "tspsg.ico"
19
20// Version Info
21VS_VERSION_INFO VERSIONINFO
22        FILEVERSION BUILD_VERSION_MAJOR,BUILD_VERSION_MINOR,BUILD_RELEASE,BUILD_NUMBER
23        PRODUCTVERSION BUILD_VERSION_MAJOR,BUILD_VERSION_MINOR,BUILD_RELEASE,BUILD_NUMBER
24        FILEFLAGSMASK 0x17L
25#ifdef DEBUG
26        FILEFLAGS VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PRIVATEBUILD
27#elif !defined(TSPSG_RELEASE_BUILD)
28        FILEFLAGS VS_FF_PRERELEASE
29#else
30        FILEFLAGS 0x0L
31#endif
32#ifdef Q_OS_WINCE
33        FILEOS VOS_WINCE
34#else
35        FILEOS VOS__WINDOWS32
36#endif
37        FILETYPE VFT_APP
38BEGIN
39    BLOCK "StringFileInfo"
40    BEGIN
41        BLOCK "000004b0"
42        BEGIN
43//            VALUE "Comments", VERSIONID
44            VALUE "ProductName", "TSP Solver and Generator"
45            VALUE "ProductVersion", BUILD_VERSION
46            VALUE "CompanyName", "Oleksii ""Lёppa"" Serdiuk"
47            VALUE "FileDescription", "TSPSG: TSP Solver and Generator"
48            VALUE "FileVersion", BUILD_VERSION
49            VALUE "InternalName", "TSPSG"
50            VALUE "LegalCopyright", "Copyright © 2007-2010 Oleksii ""Lёppa"" Serdiuk <contacts[at]oleksii[dot]name>"
51#ifdef DEBUG
52            VALUE "OriginalFilename", "tspsgd.exe"
53#else
54            VALUE "OriginalFilename", "tspsg.exe"
55#endif
56#ifdef DEBUG
57            VALUE "PrivateBuild", "Debug development build"
58#endif
59        END
60    END
61    BLOCK "VarFileInfo"
62    BEGIN
63        VALUE "Translation", 0x0, 1200
64    END
65END
Note: See TracBrowser for help on using the repository browser.