Directory.Build.props.in 952 Bytes
Newer Older
gaoqiong's avatar
gaoqiong committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- @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>