mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
925 B
24 lines
925 B
<Project> |
|
<PropertyGroup> |
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
|
<EnableGeneratorCompileItems>true</EnableGeneratorCompileItems> |
|
<OutputPath>$(GenDir)$(TestName)</OutputPath> |
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
<GeneratedCSharpFiles Include="$(GenDir)$(TestName)\*.cs"></GeneratedCSharpFiles> |
|
<Compile Include="@(GeneratedCSharpFiles)" Condition="$(EnableGeneratorCompileItems)"/> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<ProjectReference Include="$(TestGeneratorProjectDir)$(TestGeneratorName).csproj" ReferenceOutputAssembly="false" /> |
|
<ProjectReference Include="$(SrcDir)Runtime\CppSharp.Runtime.csproj" /> |
|
</ItemGroup> |
|
|
|
<Target Name="AddGeneratedCompileItems" BeforeTargets="BeforeCompile"> |
|
<ItemGroup Condition="$(EnableGeneratorCompileItems)"> |
|
<Compile Remove="@(GeneratedCSharpFiles)" /> |
|
<Compile Include="$(GenDir)$(TestName)\*.cs" /> |
|
</ItemGroup> |
|
</Target> |
|
</Project> |