xamarin-macios/msbuild/tests/MyiOSFrameworkBinding/MyiOSFrameworkBinding.csproj

83 строки
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{8FFB629D-F513-41CE-95D2-7ECE97B6EEEC};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{CB22E620-41D9-4625-805E-0CE15D3A7286}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>MyiOSBinding</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>MyiOSBinding</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;__UNIFIED__;XAMCORE_2_0</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="Xamarin.iOS" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<NativeReference Include="..\..\..\tests\test-libraries\.libs\ios\XTest.framework">
<Kind>Framework</Kind>
<Link>XTest.framework</Link>
</NativeReference>
<NativeReference Include="..\..\..\tests\test-libraries\.libs\ios\XStaticObjectTest.framework">
<Kind>Framework</Kind>
<Link>XStaticObjectTest.framework</Link>
<LinkerFlags>-lz</LinkerFlags>
</NativeReference>
<NativeReference Include="..\..\..\tests\test-libraries\.libs\ios\XStaticArTest.framework">
<Kind>Framework</Kind>
<Link>XStaticArTest.framework</Link>
</NativeReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\tests\bindings-framework-test\XTest.framework.linkwith.cs">
<DependentUpon>XTest.framework</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\tests\test-libraries\libframework.m">
<Link>libframework.m</Link>
</None>
<None Include="..\..\..\tests\test-libraries\libframework.h">
<Link>libframework.h</Link>
</None>
</ItemGroup>
<Target Name="BeforeBuild" Inputs="..\..\..\tests\test-libraries\libframework.m" Outputs="..\..\..\tests\test-libraries\.libs\ios\XTest.framework ..\..\..\tests\test-libraries\.libs\ios\XSharedObjectTest.framework ..\..\..\tests\test-libraries\.libs\ios\XSharedArTest.framework">
<Exec Command="make -j8 -C ..\..\..\tests\test-libraries" />
</Target>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" />
<ItemGroup>
<ObjcBindingApiDefinition Include="..\..\..\tests\bindings-framework-test\ApiDefinition.cs">
<Link>ApiDefinition.cs</Link>
</ObjcBindingApiDefinition>
</ItemGroup>
<ItemGroup>
<ObjcBindingCoreSource Include="..\..\..\tests\bindings-framework-test\StructsAndEnums.cs">
<Link>StructsAndEnums.cs</Link>
</ObjcBindingCoreSource>
</ItemGroup>
</Project>