-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
76 lines (70 loc) · 4.96 KB
/
Directory.Build.props
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>preview</LangVersion>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<AssemblyName>Omnius.$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
<Title>$(AssemblyName)</Title>
<Description>$(AssemblyName)</Description>
<Authors>Lyrise</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/omnius-labs/axus-cs</PackageProjectUrl>
<RepositoryUrl>https://github.com/omnius-labs/axus-cs</RepositoryUrl>
<PackageTags>Axus</PackageTags>
<Copyright>Copyright (c) 2018 - 2024 Lyrise</Copyright>
<RepositoryType>git</RepositoryType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<DefineConstants Condition=" '$(DesignMode)' != '' ">$(DefineConstants);DESIGN</DefineConstants>
<NoWarn>CS1591,CS1998,NU5105,NU1603,NU1605,IDE0008</NoWarn>
<GenerateFullPaths>true</GenerateFullPaths>
<RepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RepoRoot>
<DefineConstants Condition=" '$(StableTest)' == 'true' ">$(DefineConstants);STABLE_TEST</DefineConstants>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<RestoreLockedMode Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">true</RestoreLockedMode>
<PublishDocumentationFiles>false</PublishDocumentationFiles>
<NuGetLockFilePath>$(MSBuildThisFileDirectory)\lock\$(RuntimeIdentifier)\$(AssemblyName).json</NuGetLockFilePath>
<PathMap Condition=" '$(Configuration)' == 'Release' ">$(RepoRoot)=.</PathMap>
</PropertyGroup>
<!-- Autodetect platform -->
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == '' And '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' ">
<NativeDepsPlatform>Windows</NativeDepsPlatform>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == '' And '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
<NativeDepsPlatform>Linux</NativeDepsPlatform>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == '' And '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">
<NativeDepsPlatform>OSX</NativeDepsPlatform>
<PlatformTarget>ARM64</PlatformTarget>
</PropertyGroup>
<!-- Set path -->
<PropertyGroup Condition=" '$(BuildTargetName)' == '' ">
<BuildTargetName>normal</BuildTargetName>
</PropertyGroup>
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == 'Windows' ">
<BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\obj\win-$(BuildTargetName)\$(AssemblyName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\bin\win-$(BuildTargetName)\$(AssemblyName)\</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == 'Linux' ">
<BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\obj\linux-$(BuildTargetName)\$(AssemblyName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\bin\linux-$(BuildTargetName)\$(AssemblyName)\</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == 'OSX' ">
<BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\obj\osx-$(BuildTargetName)\$(AssemblyName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\bin\osx-$(BuildTargetName)\$(AssemblyName)\</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(NativeDepsPlatform)' == '' ">
<BaseIntermediateOutputPath Condition=" '$(BaseIntermediateOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\obj\unknown-$(BuildTargetName)\$(AssemblyName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)tmp\bin\unknown-$(BuildTargetName)\$(AssemblyName)\</BaseOutputPath>
</PropertyGroup>
</Project>