Skip to content

Commit

Permalink
Don't install useless .lib files on Windows (openvinotoolkit#5897)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored May 31, 2021
1 parent a0ce936 commit 874c07e
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ add_custom_command(TARGET ${TARGET_NAME}

install(TARGETS ${INSTALLED_TARGETS}
RUNTIME DESTINATION ${PYTHON_BRIDGE_CPACK_PATH}/${PYTHON_VERSION}/openvino/inference_engine COMPONENT ${PYTHON_VERSION}
ARCHIVE DESTINATION ${PYTHON_BRIDGE_CPACK_PATH}/${PYTHON_VERSION}/openvino/inference_engine COMPONENT ${PYTHON_VERSION}
LIBRARY DESTINATION ${PYTHON_BRIDGE_CPACK_PATH}/${PYTHON_VERSION}/openvino/inference_engine COMPONENT ${PYTHON_VERSION})

install(PROGRAMS __init__.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ add_custom_command(TARGET ${TARGET_NAME}

install(TARGETS ${INSTALLED_TARGETS}
RUNTIME DESTINATION python/${PYTHON_VERSION}/openvino/offline_transformations COMPONENT ${PYTHON_VERSION}
ARCHIVE DESTINATION python/${PYTHON_VERSION}/openvino/offline_transformations COMPONENT ${PYTHON_VERSION}
LIBRARY DESTINATION python/${PYTHON_VERSION}/openvino/offline_transformations COMPONENT ${PYTHON_VERSION})

install(PROGRAMS __init__.py
Expand Down
1 change: 0 additions & 1 deletion inference-engine/src/legacy_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@ ie_developer_export_targets(${TARGET_NAME})

install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ ie_developer_export_targets(${TARGET_NAME})

install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)
1 change: 0 additions & 1 deletion inference-engine/src/preprocessing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,4 @@ ie_developer_export_targets(${TARGET_NAME})

install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core)
1 change: 0 additions & 1 deletion inference-engine/src/readers/ir_reader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ add_cpplint_target(${TARGET_NAME}_cpplint FOR_TARGETS ${TARGET_NAME})

install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core)
2 changes: 0 additions & 2 deletions inference-engine/src/readers/onnx_reader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ add_cpplint_target(${TARGET_NAME}_cpplint FOR_TARGETS ${TARGET_NAME})

install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core)

1 change: 0 additions & 1 deletion inference-engine/src/snippets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,4 @@ ie_developer_export_targets(${TARGET_NAME})
# TODO: uncomment once snippets are integrated into CPU plugin
# install(TARGETS ${TARGET_NAME}
# RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
# ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
# LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)
1 change: 0 additions & 1 deletion inference-engine/src/transformations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ ie_developer_export_targets(${TARGET_NAME})

install(TARGETS ${TARGET_NAME} EXPORT InferenceEngineTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)

0 comments on commit 874c07e

Please sign in to comment.