diff --git a/build/VStudio/launcher/launchctl.vcxproj b/build/VStudio/launcher/launchctl.vcxproj index ed5113b0..7745a77a 100644 --- a/build/VStudio/launcher/launchctl.vcxproj +++ b/build/VStudio/launcher/launchctl.vcxproj @@ -1,5 +1,6 @@  + Debug @@ -174,6 +175,14 @@ + + + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + + diff --git a/build/VStudio/launcher/launchctl.vcxproj.filters b/build/VStudio/launcher/launchctl.vcxproj.filters index 1e21b578..0a4c436d 100644 --- a/build/VStudio/launcher/launchctl.vcxproj.filters +++ b/build/VStudio/launcher/launchctl.vcxproj.filters @@ -25,4 +25,9 @@ Source + + + Source + + \ No newline at end of file diff --git a/build/VStudio/launcher/launcher.vcxproj b/build/VStudio/launcher/launcher.vcxproj index 028f1539..b0b06e81 100644 --- a/build/VStudio/launcher/launcher.vcxproj +++ b/build/VStudio/launcher/launcher.vcxproj @@ -1,5 +1,6 @@  + Debug @@ -179,6 +180,14 @@ + + + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + _UNICODE;UNICODE;%(PreprocessorDefinitions);MyProductName=$(MyProductName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas) + + diff --git a/build/VStudio/launcher/launcher.vcxproj.filters b/build/VStudio/launcher/launcher.vcxproj.filters index bd46cd0e..acb13455 100644 --- a/build/VStudio/launcher/launcher.vcxproj.filters +++ b/build/VStudio/launcher/launcher.vcxproj.filters @@ -25,4 +25,9 @@ Source + + + Source + + \ No newline at end of file diff --git a/src/launcher/launchctl-version.rc b/src/launcher/launchctl-version.rc new file mode 100644 index 00000000..ff386af1 --- /dev/null +++ b/src/launcher/launchctl-version.rc @@ -0,0 +1,37 @@ +#include + +#define STR(x) STR_(x) +#define STR_(x) #x + +VS_VERSION_INFO VERSIONINFO +FILEVERSION MyVersionWithCommas +PRODUCTVERSION MyVersionWithCommas +FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG +FILEFLAGS VS_FF_DEBUG +#else +FILEFLAGS 0 +#endif +FILEOS VOS_NT +FILETYPE VFT_APP +FILESUBTYPE 0 +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", STR(MyCompanyName) + VALUE "FileDescription", STR(MyDescription) + VALUE "FileVersion", STR(MyVersion) + VALUE "InternalName", "launchctl.exe" + VALUE "LegalCopyright", STR(MyCopyright) + VALUE "OriginalFilename", "launchctl.exe" + VALUE "ProductName", STR(MyProductName) + VALUE "ProductVersion", STR(MyVersion) + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END diff --git a/src/launcher/launcher-version.rc b/src/launcher/launcher-version.rc new file mode 100644 index 00000000..190d8157 --- /dev/null +++ b/src/launcher/launcher-version.rc @@ -0,0 +1,37 @@ +#include + +#define STR(x) STR_(x) +#define STR_(x) #x + +VS_VERSION_INFO VERSIONINFO +FILEVERSION MyVersionWithCommas +PRODUCTVERSION MyVersionWithCommas +FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG +FILEFLAGS VS_FF_DEBUG +#else +FILEFLAGS 0 +#endif +FILEOS VOS_NT +FILETYPE VFT_APP +FILESUBTYPE 0 +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", STR(MyCompanyName) + VALUE "FileDescription", STR(MyDescription) + VALUE "FileVersion", STR(MyVersion) + VALUE "InternalName", "launcher.exe" + VALUE "LegalCopyright", STR(MyCopyright) + VALUE "OriginalFilename", "launcher.exe" + VALUE "ProductName", STR(MyProductName) + VALUE "ProductVersion", STR(MyVersion) + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END