mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Patch Protobuf and ONNX's cmake files and enforce BinSkim check. This PR has overlap with #13523 . I would prefer to get this one merged first so that we can finished the BinSkim work, and I try to make this PR as small as possible.
17 lines
952 B
Text
17 lines
952 B
Text
<!-- @DIRECTORY_BUILD_PROPS_COMMENT@ -->
|
|
<Project>
|
|
<PropertyGroup>
|
|
<!-- Note: build.py puts the CMake binary directory under an additional directory named for the build
|
|
configuration, so we want the parent directory here. -->
|
|
<OnnxRuntimeBuildDirectory>@CMAKE_BINARY_DIR@/..</OnnxRuntimeBuildDirectory>
|
|
<OnnxSourceDirectory>@onnx_SOURCE_DIR@</OnnxSourceDirectory>
|
|
<OnnxRuntimeCsharpRoot>$(MSBuildThisDirectory)</OnnxRuntimeCsharpRoot>
|
|
<ProtocDirectory>@protobuf_BINARY_DIR@</ProtocDirectory>
|
|
<RestorePackagesPath>$(MSBuildThisFileDirectory)\packages</RestorePackagesPath>
|
|
<RestoreConfigFile>$(MSBuildThisFileDirectory)\NuGet.CSharp.config</RestoreConfigFile>
|
|
<MSBuildWarningsAsMessages>NU1503</MSBuildWarningsAsMessages>
|
|
<RestoreIgnoreFailedSource>true</RestoreIgnoreFailedSource>
|
|
|
|
<DefineConstants>@CSHARP_PREPROCESSOR_DEFINES@$(DefineConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
</Project>
|