Skip to content

Commit

Permalink
Simplify package signing for Emgu TF Lite
Browse files Browse the repository at this point in the history
  • Loading branch information
emgucv committed Sep 5, 2024
1 parent 2691352 commit b06e36a
Show file tree
Hide file tree
Showing 8 changed files with 140 additions and 124 deletions.
232 changes: 108 additions & 124 deletions CMakeLists.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions cmake/Emgu.TF.Lite.Directory.Build.props.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ http://www.emgu.com/wiki/files/emgutflite/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK

<!-- https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=vs-2022 -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<!--
${EMGUTF_LITE_POST_PROCESS_BINARY}
${EMGUTF_LITE_POST_PROCESS_NUGET}
-->

<Import Project="SignBinary.Targets" Condition="exists('SignBinary.Targets')" />
<Import Project="SignPkg.Targets" Condition="exists('SignPkg.Targets')" />
</Project>
6 changes: 6 additions & 0 deletions cmake/Emgu.TF.Lite.Models.Directory.Build.props.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ http://www.emgu.com/wiki/files/emgutflite/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK

<!-- https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=vs-2022 -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<!--
${EMGUTF_LITE_MODELS_POST_PROCESS_BINARY}
${EMGUTF_LITE_MODELS_POST_PROCESS_NUGET}
-->

<Import Project="SignBinary.Targets" Condition="exists('SignBinary.Targets')" />
<Import Project="SignPkg.Targets" Condition="exists('SignPkg.Targets')" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
<Project>
<!-- https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=vs-2022 -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<Import Project="SignBinary.Targets" Condition="exists('SignBinary.Targets')" />
<Import Project="SignPkg.Targets" Condition="exists('SignPkg.Targets')" />
<!--
${EMGUTF_LITE_MAUI_POST_PROCESS_BINARY}
-->
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ ${NUGET_EMGU_URL}/wiki/files/emgutf/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKA
<PackagePath>docs\</PackagePath>
</None>
</ItemGroup>
<!--
${EMGUTF_LITE_MAUI_ANDROID_POST_PROCESS_BINARY}
${EMGUTF_LITE_MAUI_ANDROID_POST_PROCESS_NUGET}
-->

<Import Project="SignBinary.Targets" Condition="exists('SignBinary.Targets')" />
<Import Project="SignPkg.Targets" Condition="exists('SignPkg.Targets')" />
</Project>
5 changes: 5 additions & 0 deletions cmake/Emgu.TF.Lite.runtime.maui.ios.Directory.Build.props.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ http://www.emgu.com/wiki/files/emgutf/${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PAC
<PackagePath>docs\</PackagePath>
</None>
</ItemGroup>

<Import Project="SignBinary.Targets" Condition="exists('SignBinary.Targets')" />
<Import Project="SignPkg.Targets" Condition="exists('SignPkg.Targets')" />
<!--
${EMGUTF_LITE_MAUI_IOS_POST_PROCESS_BINARY}
${EMGUTF_LITE_MAUI_IOS_POST_PROCESS_NUGET}
-->
</Project>
3 changes: 3 additions & 0 deletions cmake/SignBinary.Targets.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Project>
${EMGUTF_POST_PROCESS_BINARY}
</Project>
3 changes: 3 additions & 0 deletions cmake/SignPkg.Targets.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Project>
${EMGUTF_POST_PROCESS_NUGET}
</Project>

0 comments on commit b06e36a

Please sign in to comment.