forked from AaronRobinsonMSFT/DNNE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExportingAssembly.csproj
41 lines (35 loc) · 1.93 KB
/
ExportingAssembly.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Condition="'$(TestNuPkg)' != 'true'">
<PseudoPackage>$(SrcRoot)dnne-pkg/bin/$(Configuration)/pkg/</PseudoPackage>
<AfterMicrosoftNETSdkTargets>$(PseudoPackage)build/DNNE.targets</AfterMicrosoftNETSdkTargets>
</PropertyGroup>
<Import Condition="'$(TestNuPkg)' != 'true'" Project="$(PseudoPackage)build/DNNE.props" />
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RollForward>Major</RollForward>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Disable warnings about missing comments -->
<NoWarn>1591</NoWarn>
<!--
Defining RID(s) in the project enable specifying the bitness of the native binary.
See repository readme.md for more details.
-->
<!-- <RuntimeIdentifier>win-x64</RuntimeIdentifier> -->
<!-- <RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers> -->
<EnableDynamicLoading>true</EnableDynamicLoading>
<DnneAddGeneratedBinaryToProject>true</DnneAddGeneratedBinaryToProject>
<DnneCompilerUserFlags Condition="'$(BuildAsCPPWithMSVC)'=='true'">/TP </DnneCompilerUserFlags>
<DnneCompilerCommand Condition="'$(BuildWithGCC)'=='true'">gcc</DnneCompilerCommand>
<DnneCompilerCommand Condition="'$(BuildWithGPP)'=='true'">g++</DnneCompilerCommand>
<DnneCompilerCommand Condition="'$(BuildWithClangPP)'=='true'">clang++</DnneCompilerCommand>
<!-- Include the override option for dnne_abort() -->
<DnneCompilerUserFlags>$(DnneCompilerUserFlags)$(MSBuildThisFileDirectory)override.c</DnneCompilerUserFlags>
</PropertyGroup>
<PropertyGroup Condition="'$(TestNuPkg)' == 'true' AND '$(RefLocalBuild)'=='true'">
<RestoreSources>$(SrcRoot)dnne-pkg/bin/$(Configuration)</RestoreSources>
</PropertyGroup>
<ItemGroup Condition="'$(TestNuPkg)' == 'true'">
<PackageReference Include="DNNE" Version="1.*" />
</ItemGroup>
</Project>