mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] Windows restarter version info
This commit is contained in:
@@ -5,6 +5,11 @@ if(NOT WIN32)
|
||||
message(FATAL_ERROR "Windows only.")
|
||||
endif()
|
||||
|
||||
set(BUILD_NUMBER $ENV{BUILD_NUMBER})
|
||||
string(TIMESTAMP YEAR "%Y")
|
||||
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")
|
||||
|
||||
add_executable(restarter restarter.c)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/restarter.rc ${CMAKE_CURRENT_BINARY_DIR}/restarter.rc @ONLY)
|
||||
|
||||
add_executable(restarter restarter.c ${CMAKE_CURRENT_BINARY_DIR}/restarter.rc)
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
#define VERSION 1,3,0,@BUILD_NUMBER@
|
||||
#define VERSION_STR "1.3.0.@BUILD_NUMBER@\0"
|
||||
#define FILE_NAME "restarter.exe"
|
||||
#define COPYRIGHT "Copyright 2000-@YEAR@ JetBrains s.r.o."
|
||||
|
||||
#pragma code_page(65001)
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION
|
||||
PRODUCTVERSION VERSION
|
||||
FILEFLAGSMASK 0x0L
|
||||
FILEFLAGS 0x0L
|
||||
FILEOS 0x4L
|
||||
FILETYPE 0x2L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "0000fde9"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "JetBrains"
|
||||
VALUE "FileDescription", "IDE update and restart helper"
|
||||
VALUE "FileVersion", VERSION_STR
|
||||
VALUE "InternalName", FILE_NAME
|
||||
VALUE "LegalCopyright", COPYRIGHT
|
||||
VALUE "OriginalFilename", FILE_NAME
|
||||
VALUE "ProductName", "IntelliJ Platform"
|
||||
VALUE "ProductVersion", VERSION_STR
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0, 0xfde9
|
||||
END
|
||||
END
|
||||
Reference in New Issue
Block a user