-
Notifications
You must be signed in to change notification settings - Fork 284
[WIN] Set binaries details #2433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
55049a6
init
mryzhov 98cd306
use OpenVINOGenAI_FULL_VERSION
mryzhov 5dae5fe
Merge branch 'master' into gha/win_info
mryzhov 183e1a0
set empty CMAKE_MSVC_DEPLOYMENT_TOOLSET
mryzhov 2ce39fb
fixed win pipeline
mryzhov 73c5f5c
set CMAKE_RC_COMPILER
mryzhov ab0f51b
properly exit code
mryzhov 7ebcb26
set CMAKE_RC_COMPILER_LAUNCHER
mryzhov 1a479ea
Merge branch 'master' into gha/win_info
mryzhov b295533
reset _COMPILER_LAUNCHER
mryzhov 2732051
Merge branch 'master' into gha/win_info
mryzhov 6cd4fb2
Pretend ccache is not found
mryzhov e6d811e
revert ccache
mryzhov 88a3692
remove CMakeCache.txt
mryzhov d5ce1d8
Merge branch 'master' into gha/win_info
Wovchena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,33 @@ | ||
#include <winver.h> | ||
|
||
VS_VERSION_INFO VERSIONINFO | ||
FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_TWEAK@ | ||
PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_TWEAK@ | ||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | ||
#ifdef _DEBUG | ||
FILEFLAGS 1 | ||
#else | ||
FILEFLAGS 0 | ||
#endif | ||
FILEOS VOS__WINDOWS32 | ||
FILETYPE VFT_DLL | ||
FILESUBTYPE 0 | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "040904E4" | ||
BEGIN | ||
VALUE "CompanyName", "@PROJECT_COMPANY_NAME@\0" | ||
VALUE "FileDescription", "@PROJECT_DESCRIPTION@\0" | ||
VALUE "FileVersion", "@PROJECT_VERSION@\0" | ||
VALUE "LegalCopyright", "@PROJECT_COPYRIGHT@\0" | ||
VALUE "ProductName", "@PROJECT_PRODUCT_NAME@\0" | ||
VALUE "ProductVersion", "@OpenVINOTokenizers_FULL_VERSION@\0" | ||
VALUE "Comments", "@PROJECT_COMMENTS@\0" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x0409, 1252 | ||
END | ||
END |
This file contains hidden or 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,18 @@ | ||
# Copyright (C) 2025 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
set(PROJECT_COMPANY_NAME "Intel Corporation") | ||
set(PROJECT_PRODUCT_NAME "OpenVINO GenAI") | ||
set(PROJECT_COPYRIGHT "Copyright (C) 2018-2025, Intel Corporation") | ||
set(PROJECT_COMMENTS "https://docs.openvino.ai/") | ||
|
||
# This function generates a version resource (.rc) file from a template and adds it to the given target. | ||
function(add_vs_version_resource TARGET_NAME) | ||
set(VS_VERSION_TEMPLATE "${PROJECT_SOURCE_DIR}/cmake/templates/vs_version.rc.in") | ||
set(VS_VERSION_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/vs_version.rc") | ||
|
||
configure_file("${VS_VERSION_TEMPLATE}" "${VS_VERSION_OUTPUT}" @ONLY) | ||
|
||
target_sources(${TARGET_NAME} PRIVATE "${VS_VERSION_OUTPUT}") | ||
endfunction() |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.