xamarin-macios/src/generator.csproj

153 строки
7.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="4.0">
<Import Project="..\packages\XliffTasks.1.0.0-beta.19607.1\build\XliffTasks.props" Condition="Exists('..\packages\XliffTasks.1.0.0-beta.19607.1\build\XliffTasks.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D2EE02C0-9BFD-477D-AC92-4DE2D8490790}</ProjectGuid>
<OutputType>Exe</OutputType>
<AssemblyName>bgen</AssemblyName>
<RootNamespace>bgen</RootNamespace>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<BuildDir Condition="'$(BUILD_DIR)' != ''">$(BUILD_DIR)\</BuildDir>
<BuildDir Condition="'$(BUILD_DIR)' == ''">build\</BuildDir>
<LangVersion>latest</LangVersion>
<NoWarn>8601,8618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>False</Optimize>
<OutputPath>build\common</OutputPath>
<IntermediateOutputPath>build\IDE\obj\common\</IntermediateOutputPath>
<DefineConstants>DEBUG;BGENERATOR;NET_4_0;NO_AUTHENTICODE;STATIC;NO_SYMBOL_WRITER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Deterministic>True</Deterministic>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="4.7.2" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<StartAction>Project</StartAction>
<StartArguments />
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="MD_MTOUCH_SDK_ROOT" value="../_ios-build//Library/Frameworks/Xamarin.iOS.framework/Versions/git" />
<Variable name="XamarinMacFrameworkRoot" value="../_mac-build/Library/Frameworks/Xamarin.Mac.framework/Versions/Current" />
</EnvironmentVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'ios' ">
<StartAction>Project</StartAction>
<StartArguments>@build/$(RunConfiguration).rsp</StartArguments>
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="MD_MTOUCH_SDK_ROOT" value="../_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git" />
</EnvironmentVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'maccatalyst' ">
<StartAction>Project</StartAction>
<StartArguments>@build/$(RunConfiguration).rsp</StartArguments>
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="MD_MTOUCH_SDK_ROOT" value="../_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git" />
</EnvironmentVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'tvos' ">
<StartAction>Project</StartAction>
<StartArguments>@build/$(RunConfiguration).rsp</StartArguments>
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="MD_MTOUCH_SDK_ROOT" value="../_ios-build//Library/Frameworks/Xamarin.iOS.framework/Versions/git" />
</EnvironmentVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'watchos' ">
<StartAction>Project</StartAction>
<StartArguments>@build/$(RunConfiguration).rsp</StartArguments>
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="MD_MTOUCH_SDK_ROOT" value="../_ios-build//Library/Frameworks/Xamarin.iOS.framework/Versions/git" />
</EnvironmentVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'mac-mobile' ">
<StartAction>Project</StartAction>
<StartArguments>@build/$(RunConfiguration).rsp</StartArguments>
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="XamarinMacFrameworkRoot" value="../_mac-build/Library/Frameworks/Xamarin.Mac.framework/Versions/Current" />
</EnvironmentVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'mac-full' ">
<StartAction>Project</StartAction>
<StartArguments>@build/$(RunConfiguration).rsp</StartArguments>
<StartWorkingDirectory>$(ProjectDir)</StartWorkingDirectory>
<EnvironmentVariables>
<Variable name="XamarinMacFrameworkRoot" value="../_mac-build/Library/Frameworks/Xamarin.Mac.framework/Versions/Current" />
</EnvironmentVariables>
</PropertyGroup>
<ItemGroup>
<None Include="..\docs\website\generator-errors.md">
<Link>generator-errors.md</Link>
</None>
<Compile Include="..\src\btouch.cs" />
<Compile Include="..\src\error.cs" />
<Compile Include="..\src\generator.cs" />
<Compile Include="..\src\generator-attributes.cs" />
<Compile Include="..\src\generator-attribute-manager.cs" />
<Compile Include="..\src\generator-enums.cs" />
<Compile Include="..\src\generator-filters.cs" />
<Compile Include="..\src\generator-typemanager.cs" />
<Compile Include="..\src\ObjCRuntime\Stret.cs" />
<Compile Include="..\tools\common\ApplePlatform.cs" />
<Compile Include="..\tools\common\TargetFramework.cs" />
<Compile Include="..\tools\common\StringUtils.cs" />
<Compile Include="$(BuildDir)generator-frameworks.g.cs" />
<Compile Include="..\builds\mono-ios-sdk-destdir\ios-sources\mcs\class\Mono.Options\Mono.Options\Options.cs" />
<Compile Include="..\src\Foundation\AdviceAttribute.cs" />
<Compile Include="..\src\Foundation\ExportAttribute.cs" />
<Compile Include="..\src\Foundation\FieldAttribute.cs" />
<Compile Include="..\src\Foundation\ModelAttribute.cs" />
<Compile Include="..\src\Foundation\NotImplementedAttribute.cs" />
<Compile Include="..\src\Foundation\PreserveAttribute.cs" />
<Compile Include="..\src\Foundation\ProtocolAttribute.cs" />
<Compile Include="..\src\Foundation\RegisterAttribute.cs" />
<Compile Include="..\src\Foundation\XpcInterfaceAttribute.cs" />
<Compile Include="..\src\ObjCRuntime\ArgumentSemantic.cs" />
<Compile Include="..\src\ObjCRuntime\BindAsAttribute.cs" />
<Compile Include="..\src\ObjCRuntime\BindingImplAttribute.cs" />
<Compile Include="..\src\ObjCRuntime\LinkWithAttribute.cs" />
<Compile Include="..\src\ObjCRuntime\NativeAttribute.cs" />
<Compile Include="..\src\ObjCRuntime\PlatformAvailability2.cs" />
<Compile Include="..\src\ObjCRuntime\PlatformAvailabilityShadow.cs" />
<Compile Include="..\src\ObjCRuntime\Registrar.core.cs" />
<Compile Include="..\src\ObjCRuntime\RequiresSuperAttribute.cs" />
<Compile Include="..\tools\common\Execution.cs">
<Link>Execution.cs</Link>
</Compile>
<Compile Include="Resources.Designer.cs">
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="packages.config" />
<Compile Include="..\tools\common\Driver.execution.cs">
<Link>Driver.execution.cs</Link>
</Compile>
<Compile Include="..\tools\common\SdkVersions.cs">
<Link>SdkVersions.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Target Name="AfterBuild">
<!-- Only run 'make bgen' if we're not executed as part of 'make' (i.e. MAKEFLAGS is empty) -->
<Exec Command="make bgen" Condition="'$(MAKEFLAGS)' == ''"/>
</Target>
<Import Project="..\packages\XliffTasks.1.0.0-beta.19607.1\build\XliffTasks.targets" Condition="Exists('..\packages\XliffTasks.1.0.0-beta.19607.1\build\XliffTasks.targets')" />
</Project>