97 строки
4.4 KiB
XML
97 строки
4.4 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>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{F88FA3CF-B8EF-4CC7-9A2C-BC59DC7B4F22}</ProjectGuid>
|
|
<ProjectTypeGuids>{8FFB629D-F513-41CE-95D2-7ECE97B6EEEC};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>bindingstest2</RootNamespace>
|
|
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
|
<AssemblyName>bindings-test2</AssemblyName>
|
|
<TargetFrameworkIdentifier>Xamarin.iOS</TargetFrameworkIdentifier>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
|
|
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)-unified</IntermediateOutputPath>
|
|
<DefineConstants></DefineConstants>
|
|
<LangVersion>latest</LangVersion>
|
|
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Debug32' Or '$(Configuration)' == 'Debug64' Or '$(Configuration)' == 'Debug64_32' ">
|
|
<DebugSymbols>True</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>False</Optimize>
|
|
<OutputPath>bin\Any CPU\$(Configuration)-unified</OutputPath>
|
|
<DefineConstants>DO_NOT_REMOVE;DEBUG;;$(DefineConstants)</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' Or '$(Configuration)' == 'Release32' Or '$(Configuration)' == 'Release64' Or '$(Configuration)' == 'Release-bitcode' Or '$(Configuration)' == 'Release64_32' ">
|
|
<DebugType>none</DebugType>
|
|
<Optimize>True</Optimize>
|
|
<OutputPath>bin\Any CPU\$(Configuration)-unified</OutputPath>
|
|
<DefineConstants>DO_NOT_REMOVE;$(DefineConstants)</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="Xamarin.iOS" />
|
|
<PackageReference Include="NUnitLite" Version="3.12.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Resources\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
|
|
<ObjcBindingApiDefinition Include="ApiProtocol.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ObjcBindingCoreSource Include="StructsAndEnums.cs" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<TestLibrariesDirectory>..\..\tests\test-libraries</TestLibrariesDirectory>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ObjcBindingNativeLibrary Include="..\..\tests\test-libraries\.libs\ios-fat\libtest2.a">
|
|
<Link>libtest2.a</Link>
|
|
</ObjcBindingNativeLibrary>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="libtest2.linkwith.cs">
|
|
<DependentUpon>libtest2.a</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="BindingTest.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="..\..\tests\test-libraries\libtest2.m">
|
|
<Link>libtest2.m</Link>
|
|
</None>
|
|
<None Include="..\..\tests\test-libraries\libtest2.h">
|
|
<Link>libtest2.h</Link>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<GeneratedTestInput Include="..\..\tests\test-libraries\*.m" />
|
|
<GeneratedTestInput Include="..\..\tests\test-libraries\*.h" />
|
|
<GeneratedTestInput Include="..\..\tests\test-libraries\*.cs" />
|
|
<GeneratedTestInput Include="..\..\tests\test-libraries\Makefile" />
|
|
<GeneratedTestOutput Include="..\..\tests\test-libraries\.libs\ios-fat\libtest2.a" />
|
|
</ItemGroup>
|
|
<Target Name="BeforeBuild" Inputs="@(GeneratedTestInput)" Outputs="@(GeneratedTestOutput)">
|
|
<Exec Command="make -j8 -C $(TestLibrariesDirectory)" />
|
|
</Target>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\bindings-test\iOS\bindings-test.csproj">
|
|
<Project>{48585BC2-D604-4CF2-A827-D887BEA51FD6}</Project>
|
|
<Name>bindings-test</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
</Project>
|