From f888a6b2ceb3359bf3522e2e6b264c5b3c8f3250 Mon Sep 17 00:00:00 2001 From: Canming Huang Date: Mon, 10 Jun 2024 08:43:40 -0400 Subject: [PATCH] Sign Emgu.TF.Lite, Emgu.TF.Lite.Models & Emgu.TF.Protobuf --- CMakeLists.txt | 274 ++++++------------ Emgu.TF.Lite.Models/CMakeLists.txt | 18 +- Emgu.TF.Lite/CMakeLists.txt | 12 +- cmake/Emgu.TF.Lite.Directory.Build.props.in | 1 + ...gu.TF.Lite.Models.Directory.Build.props.in | 4 +- cmake/Emgu.TF.Lite.Models.Package.nuspec.in | 25 -- .../Emgu.TF.Protobuf.Directory.Build.props.in | 2 +- 7 files changed, 105 insertions(+), 231 deletions(-) delete mode 100644 cmake/Emgu.TF.Lite.Models.Package.nuspec.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 43fb300a4..75490888d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -525,6 +525,16 @@ IF ("${LICENSE_TYPE}" STREQUAL "Commercial") #SET(EMGUTF_PROTOBUF_NUGET_TITLE "${EMGUTF_PROTOBUF_NUGET_TITLE} Commercial Release") ENDIF() +IF(EMGU_SIGN_FOUND AND WIN32) + file(TO_NATIVE_PATH ${EMGU_SIGN_EXECUTABLE} EMGU_SIGN_EXECUTABLE_NATIVE_PATH) + file(TO_NATIVE_PATH ${SIGNTOOL_EXECUTABLE} SIGNTOOL_EXECUTABLE_NATIVE_PATH) +ENDIF() + +IF(EMGU_NUGET_SIGN_FOUND AND WIN32) + file(TO_NATIVE_PATH ${EMGU_NUGET_SIGN_EXECUTABLE} EMGU_NUGET_SIGN_EXECUTABLE_NATIVE_PATH) + file(TO_NATIVE_PATH ${NUGET_EXECUTABLE} NUGET_EXECUTABLE_NATIVE_PATH) +ENDIF() + SET(EMGUTF_WINDOWS_NUGET_FILE_LIST "") IF(HAVE_WINDESKTOP) @@ -553,26 +563,7 @@ IF(HAVE_WINDESKTOP) ") ENDIF() - IF(HAVE_ANDROID) - #SET(EMGUTF_XAMARIN_ANDROID_NUGET_ID "${EMGUTF_NUGET_BASE_ID}.runtime.xamarin.android") - #IF ("${LICENSE_TYPE}" STREQUAL "Commercial") - # SET(EMGUTF_ANDROID_NUGET_ID "${EMGUTF_ANDROID_NUGET_ID}-CR") - #ENDIF() - #SET(EMGUTF_XAMARIN_ANDROID_NUGET_TITLE "Native Android runtime of ${EMGUTF_NUGET_TITLE} for Xamarin") - #SET(EMGUTF_XAMARIN_ANDROID_NUGET_FILE_LIST " - # -# -# -# -# ") -# SET(EMGUTF_XAMARIN_ANDROID_NUGET_DEPENDENCY "${EMGUTF_XAMARIN_ANDROID_NUGET_DEPENDENCY} -# -# -# -# -# -# ") SET(EMGUTF_MAUI_ANDROID_NUGET_ID "${EMGUTF_NUGET_BASE_ID}.runtime.maui.android") #IF ("${LICENSE_TYPE}" STREQUAL "Commercial") @@ -583,8 +574,6 @@ IF(HAVE_ANDROID) # Sign and copy the binary SET(EMGUTF_MAUI_ANDROID_POST_PROCESS_BINARY "") IF(EMGU_SIGN_FOUND AND WIN32) - file(TO_NATIVE_PATH ${EMGU_SIGN_EXECUTABLE} EMGU_SIGN_EXECUTABLE_NATIVE_PATH) - file(TO_NATIVE_PATH ${SIGNTOOL_EXECUTABLE} SIGNTOOL_EXECUTABLE_NATIVE_PATH) SET(EMGUTF_MAUI_ANDROID_POST_PROCESS_BINARY "${EMGUTF_MAUI_ANDROID_POST_PROCESS_BINARY} @@ -729,14 +718,39 @@ IF(HAVE_LITE_BUILD) #MESSAGE(STATUS ">>> HAVE_WINDESKTOP_LITE: ${HAVE_WINDESKTOP_LITE}") IF(EMGU_SIGN_FOUND AND WIN32) - file(TO_NATIVE_PATH ${EMGU_SIGN_EXECUTABLE} EMGU_SIGN_EXECUTABLE_NATIVE_PATH) - file(TO_NATIVE_PATH ${SIGNTOOL_EXECUTABLE} SIGNTOOL_EXECUTABLE_NATIVE_PATH) + + SET(EMGUTF_LITE_POST_PROCESS_BINARY "") + SET(EMGUTF_LITE_MODELS_POST_PROCESS_BINARY "") + SET(EMGUTF_LITE_POST_PROCESS_BINARY "${EMGUTF_LITE_POST_PROCESS_BINARY} + + + + ") + SET(EMGUTF_LITE_MODELS_POST_PROCESS_BINARY "${EMGUTF_LITE_MODELS_POST_PROCESS_BINARY} + + + + ") ENDIF() IF(EMGU_NUGET_SIGN_FOUND AND WIN32) - file(TO_NATIVE_PATH ${EMGU_NUGET_SIGN_EXECUTABLE} EMGU_NUGET_SIGN_EXECUTABLE_NATIVE_PATH) - file(TO_NATIVE_PATH ${NUGET_EXECUTABLE} NUGET_EXECUTABLE_NATIVE_PATH) + + SET(EMGUTF_LITE_POST_PROCESS_NUGET "${EMGUTF_LITE_POST_PROCESS_NUGET} + + + + + ") + SET(EMGUTF_LITE_MODELS_POST_PROCESS_NUGET "${EMGUTF_LITE_MODELS_POST_PROCESS_NUGET} + + + + + ") + ENDIF() + + IF (HAVE_ANDROID_LITE) # Sign and copy the binary SET(EMGUTF_LITE_MAUI_ANDROID_POST_PROCESS_BINARY "") @@ -797,14 +811,6 @@ IF(HAVE_LITE_BUILD) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Emgu.TF.Lite.runtime.maui.ios.Directory.Build.props.in ${CMAKE_CURRENT_SOURCE_DIR}/Emgu.TF.Platform/Maui/iOS/Directory.Build.props) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Emgu.TF.Lite.runtime.maui.ios.Package.README.md.in ${CMAKE_CURRENT_SOURCE_DIR}/Emgu.TF.Platform/Maui/iOS/docs/README.md) - -# SET(EMGUTF_LITE_NUGET_FILE_LIST "${EMGUTF_LITE_NUGET_FILE_LIST} -# -# ") -# SET(EMGUTF_LITE_NUGET_DEPENDENCY "${EMGUTF_LITE_NUGET_DEPENDENCY} -# -# -# ") ENDIF() @@ -814,73 +820,6 @@ IF(HAVE_LITE_BUILD) ENDIF() MESSAGE(STATUS "HAVE_MAUI_LITE: ${HAVE_MAUI_LITE}") -# SET(EMGUTF_LITE_NUGET_FILE_LIST "${EMGUTF_LITE_NUGET_FILE_LIST} -# -# ") -# SET(EMGUTF_LITE_NUGET_FILE_LIST "${EMGUTF_LITE_NUGET_FILE_LIST} -# -# -# ") - -# SET(EMGUTF_LITE_NUGET_DEPENDENCY "${EMGUTF_LITE_NUGET_DEPENDENCY} -# -# -# ") -# SET(EMGUTF_LITE_NUGET_DEPENDENCY " -# -# ${EMGUTF_LITE_NUGET_DEPENDENCY} -# ") - -# IF( HAVE_OSX_LITE ) -# SET(EMGUTF_LITE_MODEL_NUGET_FILE_LIST "${EMGUTF_LITE_MODEL_NUGET_FILE_LIST} -# -# ") -# SET(EMGUTF_LITE_MODEL_NUGET_DEPENDENCY "${EMGUTF_LITE_MODEL_NUGET_DEPENDENCY} -# -# -# ") -# ENDIF() - -# IF (HAVE_IOS_LITE) -# SET(EMGUTF_LITE_MODEL_NUGET_FILE_LIST "${EMGUTF_LITE_MODEL_NUGET_FILE_LIST} -# -# ") -# SET(EMGUTF_LITE_MODEL_NUGET_DEPENDENCY "${EMGUTF_LITE_MODEL_NUGET_DEPENDENCY} -# -# -# ") -# ENDIF() - -# CHECK_BINARY_EXIST("lib/android" "Emgu.TF.Lite.Models.dll" HAVE_EMGUTF_LITE_MODEL_ANDROID OFF) -# IF(TARGET Emgu.TF.Lite.Models.Android) -# SET(HAVE_EMGUTF_LITE_MODEL_ANDROID ON) -# ENDIF() - -#IF (HAVE_EMGUTF_LITE_MODEL_ANDROID) -# SET(EMGUTF_LITE_MODEL_NUGET_FILE_LIST "${EMGUTF_LITE_MODEL_NUGET_FILE_LIST} -# -# ") -# SET(EMGUTF_LITE_MODEL_NUGET_DEPENDENCY "${EMGUTF_LITE_MODEL_NUGET_DEPENDENCY} -# -# -# ") -#ENDIF() - -# SET(EMGUTF_LITE_MODEL_NUGET_FILE_LIST "${EMGUTF_LITE_MODEL_NUGET_FILE_LIST} -# -# -# -# ") - -# SET(EMGUTF_LITE_MODEL_NUGET_DEPENDENCY "${EMGUTF_LITE_MODEL_NUGET_DEPENDENCY} -# -# -# -# ") -# SET(EMGUTF_LITE_MODEL_NUGET_DEPENDENCY " -# -# ${EMGUTF_LITE_MODEL_NUGET_DEPENDENCY} -# ") ENDIF() IF(HAVE_MAUI_LITE) @@ -926,8 +865,6 @@ IF(HAVE_MAUI_LITE) --> ") IF(EMGU_SIGN_FOUND AND WIN32) - file(TO_NATIVE_PATH ${EMGU_SIGN_EXECUTABLE} EMGU_SIGN_EXECUTABLE_NATIVE_PATH) - file(TO_NATIVE_PATH ${SIGNTOOL_EXECUTABLE} SIGNTOOL_EXECUTABLE_NATIVE_PATH) SET(EMGUTF_LITE_MAUI_POST_PROCESS_BINARY "${EMGUTF_LITE_MAUI_POST_PROCESS_BINARY} @@ -988,8 +925,6 @@ IF(HAVE_MAUI) --> ") IF(EMGU_SIGN_FOUND AND WIN32) - file(TO_NATIVE_PATH ${EMGU_SIGN_EXECUTABLE} EMGU_SIGN_EXECUTABLE_NATIVE_PATH) - file(TO_NATIVE_PATH ${SIGNTOOL_EXECUTABLE} SIGNTOOL_EXECUTABLE_NATIVE_PATH) SET(EMGUTF_MAUI_POST_PROCESS_BINARY "${EMGUTF_MAUI_POST_PROCESS_BINARY} @@ -1083,39 +1018,7 @@ IF( HAVE_WINDESKTOP_LITE ) ") ENDIF() -#IF( HAVE_OSX_LITE ) -# SET(EMGUTF_LITE_XAMARIN_MACOS_NUGET_FILE_LIST "${EMGUTF_LITE_XAMARIN_MACOS_NUGET_FILE_LIST} -# -# -# ") -# SET(EMGUTF_LITE_XAMARIN_MACOS_NUGET_DEPENDENCY "${EMGUTF_LITE_XAMARIN_MACOS_NUGET_DEPENDENCY} -# -# -# ") -#ENDIF() -#IF (HAVE_IOS_LITE) -# SET(EMGUTF_LITE_XAMARIN_IOS_NUGET_FILE_LIST "${EMGUTF_LITE_XAMARIN_IOS_NUGET_FILE_LIST} -# -# -# -# -# ") -#ENDIF() -#IF(HAVE_ANDROID_LITE) -# SET(EMGUTF_LITE_XAMARIN_ANDROID_NUGET_FILE_LIST "${EMGUTF_LITE_XAMARIN_ANDROID_NUGET_FILE_LIST} -# -# -# -# -# ") -# SET(EMGUTF_LITE_ANDROID_NUGET_DEPENDENCY "${EMGUTF_LITE_XAMARIN_ANDROID_NUGET_DEPENDENCY} -# -# -# -# -# -# ") -#ENDIF() + IF (HAVE_UBUNTU_X86_64_LITE) SET(EMGUTF_LITE_UBUNTU_NUGET_FILE_LIST "${EMGUTF_LITE_UBUNTU_NUGET_FILE_LIST} @@ -1128,10 +1031,6 @@ IF (HAVE_UBUNTU_X86_64_LITE) ") ENDIF() -#SET(EMGUTF_LITE_DEBIAN_NUGET_ID "${EMGUTF_LITE_NUGET_ID}.runtime.${NUGET_NATIVE_PLATFORM_ID_DEBIAN}") - -#SET(EMGUTF_LITE_DEBIAN_NUGET_TITLE "Native runtime of ${EMGUTF_LITE_NUGET_TITLE} for Debian (including Raspberry Pi OS)") - IF (HAVE_LINUX_ARM_LITE OR HAVE_LINUX_ARM64_LITE) SET(EMGUTF_LITE_DEBIAN_NUGET_DEPENDENCY "${EMGUTF_LITE_DEBIAN_NUGET_DEPENDENCY} @@ -1161,12 +1060,24 @@ SET(EMGUTF_NUGET_DEPENDENCY "") SET(EMGUTF_PROTOBUF_NUGET_DEPENDENCY "") IF(HAVE_FULL_BUILD) - SET(EMGUTF_NUGET_FILE_LIST "${EMGUTF_NUGET_FILE_LIST} - - - - - ") + IF(EMGU_SIGN_FOUND AND WIN32) + SET(EMGUTF_POST_PROCESS_BINARY " + + + + ") + SET(EMGUTF_MODELS_POST_PROCESS_BINARY " + + + + ") + SET(EMGUTF_PROTOBUF_POST_PROCESS_BINARY " + + + + ") + ENDIF() + ENDIF() IF(HAVE_WINDESKTOP) @@ -1174,12 +1085,7 @@ IF(HAVE_WINDESKTOP) SET(BAZEL_CUDA_TOOLKIT_PATH_FILE "${CMAKE_CURRENT_SOURCE_DIR}/tensorflow/tensorflow/tools/CUDA_TOOLKIT_PATH.txt") SET(TFEXTERN_DEPENDENCY_DLLS) - - #IF(EXISTS ${BAZEL_GENERATED_CUFFT_VERSION_FILE}) - # SET(BAZEL_GENERATED_CUFFT_VERSION_FILE_FOUND ON) - #ENDIF() - #MESSAGE(STATUS ">>>>>>>>> BAZEL_GENERATED_CUFFT_VERSION_FILE ${BAZEL_GENERATED_CUFFT_VERSION_FILE_FOUND}: ${BAZEL_GENERATED_CUFFT_VERSION_FILE}") - + IF(EXISTS ${BAZEL_CUDA_TOOLKIT_PATH_FILE}) SET(CUDA_POSTFIX 64) SET(CMAKE_GENERATED_CUFFT_VERSION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/tensorflow/tensorflow/contrib/cmake/emgu.tf.cufft.version.txt") @@ -1440,42 +1346,32 @@ SET(EMGUTF_MODEL_NUGET_DEPENDENCY "${EMGUTF_MODEL_NUGET_DEPENDENCY} ") -#IF( HAVE_OSX ) +CHECK_BINARY_EXIST("lib/android" "Emgu.TF.Models.dll" HAVE_EMGUTF_MODEL_ANDROID OFF) +IF(TARGET Emgu.TF.Models.Android) + SET(HAVE_EMGUTF_MODEL_ANDROID ON) +ENDIF() + +#IF(HAVE_EMGUTF_MODEL_ANDROID) # SET(EMGUTF_MODEL_NUGET_FILE_LIST "${EMGUTF_MODEL_NUGET_FILE_LIST} -# -# ") +# +# ") # SET(EMGUTF_MODEL_NUGET_DEPENDENCY "${EMGUTF_MODEL_NUGET_DEPENDENCY} -# +# # +# # ") #ENDIF() +#SET(EMGUTF_MODEL_NUGET_DEPENDENCY " +# +# ${EMGUTF_MODEL_NUGET_DEPENDENCY} +# ") -CHECK_BINARY_EXIST("lib/android" "Emgu.TF.Models.dll" HAVE_EMGUTF_MODEL_ANDROID OFF) -IF(TARGET Emgu.TF.Models.Android) - SET(HAVE_EMGUTF_MODEL_ANDROID ON) -ENDIF() -IF(HAVE_EMGUTF_MODEL_ANDROID) - SET(EMGUTF_MODEL_NUGET_FILE_LIST "${EMGUTF_MODEL_NUGET_FILE_LIST} - - ") - SET(EMGUTF_MODEL_NUGET_DEPENDENCY "${EMGUTF_MODEL_NUGET_DEPENDENCY} - - - - ") -ENDIF() - -SET(EMGUTF_MODEL_NUGET_DEPENDENCY " - - ${EMGUTF_MODEL_NUGET_DEPENDENCY} - ") - -SET(EMGUTF_PROTOBUF_NUGET_FILE_LIST " - - - - ") +#SET(EMGUTF_PROTOBUF_NUGET_FILE_LIST " +# +# +# +# ") SET(EMGUTF_PROTOBUF_PROJECT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/Emgu.TF.Protobuf/Emgu.TF.Protobuf.Netstandard/Emgu.TF.Protobuf.Netstandard.csproj") file(STRINGS "${EMGUTF_PROTOBUF_PROJECT_FILE}" EMGUTF_PROTOBUF_PROJECT_PARTS REGEX "Google.Protobuf" ) @@ -1483,13 +1379,13 @@ string(REGEX REPLACE ".+Version=\"([0-9]+.[0-9]+.[0-9]+)\".*" "\\1" PROTOBUF_VER #MESSAGE(STATUS "EMGUTF_PROTOBUF_PROJECT_PARTS: ${EMGUTF_PROTOBUF_PROJECT_PARTS}" ) #MESSAGE(STATUS "PROTOBUF_VERSION: ${PROTOBUF_VERSION}" ) -SET(EMGUTF_PROTOBUF_NUGET_DEPENDENCY "${EMGUTF_PROTOBUF_NUGET_DEPENDENCY} - - - - - - ") +#SET(EMGUTF_PROTOBUF_NUGET_DEPENDENCY "${EMGUTF_PROTOBUF_NUGET_DEPENDENCY} +# +# +# +# +# +# ") SET(EMGUTF_WINDOWS_NUGET_DEPENDENCY " diff --git a/Emgu.TF.Lite.Models/CMakeLists.txt b/Emgu.TF.Lite.Models/CMakeLists.txt index 0f2725d1e..e26874656 100644 --- a/Emgu.TF.Lite.Models/CMakeLists.txt +++ b/Emgu.TF.Lite.Models/CMakeLists.txt @@ -42,18 +42,20 @@ IF(HAVE_LITE_BUILD) PROJECT(Emgu.TF.Lite.Models.Netstandard) BUILD_DOTNET_PROJ(${PROJECT_NAME} "${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}/${PROJECT_NAME}.csproj" "" ALL) - - IF (EMGU_SIGN_FOUND) - EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.Models.dll) - ENDIF() + + # Binary signing should be done during project build time. + #IF (EMGU_SIGN_FOUND) + # EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/Build/Emgu.TF.Lite.Models/AnyCPU/Release/netstandard2.0/Emgu.TF.Lite.Models.dll) + # EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/Build/Emgu.TF.Lite.Models/AnyCPU/Release/net8.0-ios/Emgu.TF.Lite.Models.dll) + # EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/Build/Emgu.TF.Lite.Models/AnyCPU/Release/net8.0-maccatalyst/Emgu.TF.Lite.Models.dll) + #ENDIF() ADD_DEPENDENCIES(${PROJECT_NAME} Emgu.TF.Lite.Netstandard) INSTALL( - FILES - ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.Models.dll - ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.Models.xml - DESTINATION ${CPACK_PACKAGE_CLI_FOLDER} + DIRECTORY + ${LIBRARY_OUTPUT_PATH}/Build/Emgu.TF.Lite.Models + DESTINATION lib COMPONENT emgutf_binary) ENDIF() ENDIF() diff --git a/Emgu.TF.Lite/CMakeLists.txt b/Emgu.TF.Lite/CMakeLists.txt index b8c5bc2e9..12bdabf8a 100644 --- a/Emgu.TF.Lite/CMakeLists.txt +++ b/Emgu.TF.Lite/CMakeLists.txt @@ -51,15 +51,15 @@ IF (DOTNET_FOUND) IF (WIN32 AND HAVE_WINDESKTOP_X86_LITE) EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/runtimes/win-x86/native/tfliteextern.dll) ENDIF() - EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.dll) + #Binary signing should be done during project build time + #EMGU_SIGN_BINARY(${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.dll) ENDIF() INSTALL( - FILES - ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.xml - ${LIBRARY_OUTPUT_PATH}/Emgu.TF.Lite.dll - DESTINATION ${CPACK_PACKAGE_CLI_FOLDER} + DIRECTORY + ${LIBRARY_OUTPUT_PATH}/Build/Emgu.TF.Lite + DESTINATION lib COMPONENT emgutf_binary) ENDIF() -ENDIF() \ No newline at end of file +ENDIF() diff --git a/cmake/Emgu.TF.Lite.Directory.Build.props.in b/cmake/Emgu.TF.Lite.Directory.Build.props.in index af06adc48..9560e2caf 100644 --- a/cmake/Emgu.TF.Lite.Directory.Build.props.in +++ b/cmake/Emgu.TF.Lite.Directory.Build.props.in @@ -45,5 +45,6 @@ http://www.emgu.com/wiki/files/emgutflite/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK ${EMGUTF_LITE_POST_PROCESS_BINARY} + ${EMGUTF_LITE_POST_PROCESS_NUGET} \ No newline at end of file diff --git a/cmake/Emgu.TF.Lite.Models.Directory.Build.props.in b/cmake/Emgu.TF.Lite.Models.Directory.Build.props.in index 814fc014b..9092314a9 100644 --- a/cmake/Emgu.TF.Lite.Models.Directory.Build.props.in +++ b/cmake/Emgu.TF.Lite.Models.Directory.Build.props.in @@ -44,6 +44,6 @@ http://www.emgu.com/wiki/files/emgutflite/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK - ${EMGUTF_LITE_POST_PROCESS_BINARY} - + ${EMGUTF_LITE_MODELS_POST_PROCESS_BINARY} + ${EMGUTF_LITE_MODELS_POST_PROCESS_NUGET} \ No newline at end of file diff --git a/cmake/Emgu.TF.Lite.Models.Package.nuspec.in b/cmake/Emgu.TF.Lite.Models.Package.nuspec.in deleted file mode 100644 index 3a6409e43..000000000 --- a/cmake/Emgu.TF.Lite.Models.Package.nuspec.in +++ /dev/null @@ -1,25 +0,0 @@ - - - - ${EMGUTF_LITE_MODEL_NUGET_ID} - ${EMGUTF_LITE_MODEL_NUGET_TITLE} - ${CPACK_PACKAGE_VERSION}${TENSORFLOW_VERSION_SUFFIX} - ${CPACK_PACKAGE_VENDOR} - ${CPACK_PACKAGE_VENDOR} - ${EMGUTF_LICENSE_FILE} - ${EMGUTF_MAIN_WEB_URL} - - icon.png - true - Utility to download Tensorflow models for Emgu TF Lite - Emgu TF Lite is a cross platform .Net wrapper for the Google Tensorflow Lite library. Allows Tensorflow Lite functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython. - This is the Emgu.TF.Lite.Models component for the ${CPACK_PACKAGE_VERSION}${TENSORFLOW_VERSION_SUFFIX} release of Emgu TF Lite. For online documentation please visit -http://www.emgu.com/wiki/files/emgutf/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}/document/ - ${EMGUTF_LITE_MODEL_NUGET_DEPENDENCY} - © ${CPACK_PACKAGE_VENDOR} ${CURRENT_YEAR}. All rights reserved - tensorflow emgu emgutf ai - - - ${EMGUTF_LITE_MODEL_NUGET_FILE_LIST} - - \ No newline at end of file diff --git a/cmake/Emgu.TF.Protobuf.Directory.Build.props.in b/cmake/Emgu.TF.Protobuf.Directory.Build.props.in index f466efeda..89e072b00 100644 --- a/cmake/Emgu.TF.Protobuf.Directory.Build.props.in +++ b/cmake/Emgu.TF.Protobuf.Directory.Build.props.in @@ -44,5 +44,5 @@ http://www.emgu.com/wiki/files/emgutf/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PAC - ${EMGUTF_POST_PROCESS_BINARY} + ${EMGUTF_PROTOBUF_POST_PROCESS_BINARY} \ No newline at end of file