mirror of https://github.com/procxx/kepka.git
Rename Telegram.rc -> Kepka.rc.in
Configure Kepka.rc.in -> Kepka.rc
This commit is contained in:
parent
ac62bc1469
commit
f85e740494
|
@ -482,6 +482,7 @@ if (APPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
configure_file(Resources/winrc/Kepka.rc.in Resources/winrc/Kepka.rc)
|
||||||
target_sources(Kepka PRIVATE
|
target_sources(Kepka PRIVATE
|
||||||
SourceFiles/platform/win/audio_win.cpp
|
SourceFiles/platform/win/audio_win.cpp
|
||||||
SourceFiles/platform/win/file_utilities_win.cpp
|
SourceFiles/platform/win/file_utilities_win.cpp
|
||||||
|
@ -493,7 +494,7 @@ if (WIN32)
|
||||||
SourceFiles/platform/win/windows_dlls.cpp
|
SourceFiles/platform/win/windows_dlls.cpp
|
||||||
SourceFiles/platform/win/windows_event_filter.cpp
|
SourceFiles/platform/win/windows_event_filter.cpp
|
||||||
|
|
||||||
Resources/winrc/Telegram.rc
|
${CMAKE_CURRENT_BINARY_DIR}/Resources/winrc/Kepka.rc
|
||||||
)
|
)
|
||||||
set(tg_RESOURCES Resources/qrc/telegram_wnd.qrc)
|
set(tg_RESOURCES Resources/qrc/telegram_wnd.qrc)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Microsoft Visual C++ generated resource script.
|
// Microsoft Visual C++ generated resource script.
|
||||||
//
|
//
|
||||||
#include "resource.h"
|
#include "@CMAKE_CURRENT_SOURCE_DIR@/Resources/winrc/resource.h"
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -26,7 +26,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
|
||||||
// Icon with lowest ID value placed first to ensure application icon
|
// Icon with lowest ID value placed first to ensure application icon
|
||||||
// remains consistent on all systems.
|
// remains consistent on all systems.
|
||||||
IDI_ICON1 ICON "..\\art\\icon256.ico"
|
IDI_ICON1 ICON "@CMAKE_CURRENT_SOURCE_DIR@/Resources/art/icon256.ico"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,1,23,0
|
FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_RC@
|
||||||
PRODUCTVERSION 1,1,23,0
|
PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_RC@
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -51,11 +51,11 @@ BEGIN
|
||||||
BLOCK "040904b0"
|
BLOCK "040904b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Telegram Messenger LLP"
|
VALUE "CompanyName", "Telegram Messenger LLP"
|
||||||
VALUE "FileDescription", "Telegram Desktop"
|
VALUE "FileDescription", "@PROJECT_NAME@"
|
||||||
VALUE "FileVersion", "1.1.23.0"
|
VALUE "FileVersion", "@PROJECT_VERSION@"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2017"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "@PROJECT_NAME@"
|
||||||
VALUE "ProductVersion", "1.1.23.0"
|
VALUE "ProductVersion", "@PROJECT_VERSION@"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
Loading…
Reference in New Issue