Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[Protopipe] Add manifest file and enable longPathAware (#32073)

Septimiu Neagă1f4e533a0449
diff --git a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt b/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt
index 38b0e941721..2ad0c65e9aa 100644
--- a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt
+++ b/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt
@@ -71,6 +71,10 @@ set_target_properties(${TARGET_NAME} PROPERTIES
FOLDER ${CMAKE_CURRENT_SOURCE_DIR}
CXX_STANDARD 17)
+if (WIN32)
+ target_link_options(${TARGET_NAME} PRIVATE "/MANIFESTINPUT:${CMAKE_SOURCE_DIR}/protopipe.exe.manifest")
+endif()
+
#
# Install
#
diff --git a/src/plugins/intel_npu/tools/protopipe/cmake/standalone.cmake b/src/plugins/intel_npu/tools/protopipe/cmake/standalone.cmake
index 320c0ae172c..fcf01527832 100644
--- a/src/plugins/intel_npu/tools/protopipe/cmake/standalone.cmake
+++ b/src/plugins/intel_npu/tools/protopipe/cmake/standalone.cmake
@@ -59,7 +59,9 @@ add_executable(${TARGET_NAME} ${SOURCES})
target_link_libraries(${TARGET_NAME} PRIVATE ${DEPENDENCIES})
target_include_directories(${TARGET_NAME} PUBLIC "${PROJECT_SOURCE_DIR}/src/"
PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/version")
-
+if (WIN32)
+ target_link_options(${TARGET_NAME} PRIVATE "/MANIFESTINPUT:${CMAKE_SOURCE_DIR}/protopipe.exe.manifest")
+endif()
install(TARGETS ${TARGET_NAME}
DESTINATION "tools/${TARGET_NAME}"
diff --git a/src/plugins/intel_npu/tools/protopipe/protopipe.exe.manifest b/src/plugins/intel_npu/tools/protopipe/protopipe.exe.manifest
new file mode 100644
index 00000000000..4dc2fcf7f4c
--- /dev/null
+++ b/src/plugins/intel_npu/tools/protopipe/protopipe.exe.manifest
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <application>
+ <windowsSettings>
+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
+ </windowsSettings>
+ </application>
+</assembly>
diff --git a/src/plugins/intel_npu/tools/protopipe/version.hpp.in b/src/plugins/intel_npu/tools/protopipe/version.hpp.in
index c5839f43f30..be67e3c520a 100644
--- a/src/plugins/intel_npu/tools/protopipe/version.hpp.in
+++ b/src/plugins/intel_npu/tools/protopipe/version.hpp.in
@@ -1,3 +1,3 @@
#pragma once
-#define APP_VERSION "v1.1.0-@GIT_SHA@"
+#define APP_VERSION "v1.1.1-@GIT_SHA@"