-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
82 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
execute_process( | ||
COMMAND "${GIT_EXECUTABLE}" describe | ||
OUTPUT_VARIABLE gitDescribeResult | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
|
||
string(REPLACE "tim" "" tim41VersionStr "${gitDescribeResult}") | ||
string(REGEX MATCH "[0-9.]+\\.[0-9.]+\\.[0-9.]+" tim41Version3 "${gitDescribeResult}") | ||
string(REPLACE "." "," tim41Version3Comma "${tim41Version3}") | ||
configure_file(${INFILE} ${OUTFILE}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
#include <richedit.h> | ||
#include "w32g_res.h" | ||
#include "afxres.h" | ||
|
||
#include "version.h" | ||
|
||
1 RT_MANIFEST "w32g_visualstyle.manifest" | ||
|
||
|
@@ -3682,8 +3682,8 @@ IDI_ICON_TIMIDITY ICON "w32g_icon.ico" | |
// | ||
LANGUAGE LANG_JAPANESE, SUBLANG_JAPANESE_JAPAN | ||
VS_VERSION_INFO VERSIONINFO | ||
FILEVERSION 2,13,0,0 | ||
PRODUCTVERSION 2,13,0,0 | ||
FILEVERSION TIMID_VERSION4_COMMA | ||
PRODUCTVERSION TIMID_VERSION4_COMMA | ||
FILEOS VOS__WINDOWS32 | ||
FILETYPE VFT_APP | ||
FILESUBTYPE VFT2_UNKNOWN | ||
|
@@ -3697,14 +3697,20 @@ VS_VERSION_INFO VERSIONINFO | |
VALUE "Comments", "\0" | ||
VALUE "CompanyName", "\0" | ||
VALUE "FileDescription", "timw32g\0" | ||
VALUE "FileVersion", "2, 13, 0, 0\0" | ||
VALUE "FileVersion", TIMID_VERSION_RESSTR | ||
#ifdef TWSYNG32 | ||
VALUE "InternalName", "twsyng\0" | ||
VALUE "OriginalFilename", "twsyng.exe\0" | ||
VALUE "ProductName", "TiMidity++ Win32GUI Synthesizer Version\0" | ||
#else | ||
VALUE "InternalName", "timw32g\0" | ||
VALUE "OriginalFilename", "timw32g.exe\0" | ||
VALUE "ProductName", "TiMidity++ Win32GUI Version\0" | ||
#endif | ||
VALUE "LegalCopyright", "Copyright (C) 1999-2002 Masanao Izumo <[email protected]>\r\nCopyright (C) 1995 Tuukka Toivonen <[email protected]>\0" | ||
VALUE "LegalTrademarks", "\0" | ||
VALUE "OriginalFilename", "timw32g.exe\0" | ||
VALUE "PrivateBuild", "\0" | ||
VALUE "ProductName", "TiMidity++ Win32GUI Version\0" | ||
VALUE "ProductVersion", "2, 13, 0, 0\0" | ||
VALUE "ProductVersion", TIMID_VERSION | ||
VALUE "SpecialBuild", "\0" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
TiMidity++ -- MIDI to WAVE converter and player | ||
Copyright (C) 1999-2002 Masanao Izumo <[email protected]> | ||
Copyright (C) 1995 Tuukka Toivonen <[email protected]> | ||
|
||
This program is free software; you can redistribute it and/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, write to the Free Software | ||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
||
*/ | ||
|
||
#ifndef ___VERSION_H_ | ||
#define ___VERSION_H_ | ||
|
||
#define TIMID_VERSION "${tim41VersionStr}" | ||
#define TIMID_VERSION4_COMMA ${tim41Version3Comma},0 | ||
#define TIMID_VERSION_RESSTR "${tim41Version3Comma},0\0" | ||
|
||
#endif /* !___VERSION_H_ */ |