mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 00:35:27 +00:00
60376ae510
* feat: GtkSharp net6 workload * feat(Workload): GtkSharp template packs * chore: Support .NET SDK 6.0.300 And also changed the build script to target SDK bands. * build: Workload install and uninstall targets
58 lines
1.6 KiB
XML
58 lines
1.6 KiB
XML
<Project Sdk="Microsoft.Build.NoTargets">
|
|
|
|
<Import Project="..\Shared\Common.targets" />
|
|
|
|
<PropertyGroup>
|
|
<Description>GtkSharp SDK. Enabled via the net6.0-gtk TFM.</Description>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="**\*.in.*" />
|
|
<None Update="@(None)" PackagePath="" CopyToOutputDirectory="PreserveNewest" Pack="true" />
|
|
<None
|
|
Include="$(_GtkSharpSourceDirectory)Libs\GtkSharp\GtkSharp.targets"
|
|
Link="targets\GtkSharp.targets"
|
|
CopyToOutputDirectory="PreserveNewest"
|
|
Pack="true"
|
|
PackagePath="targets"
|
|
Visible="false"
|
|
/>
|
|
</ItemGroup>
|
|
|
|
<Import Project="..\Shared\ReplaceText.targets" />
|
|
|
|
<Target Name="_ReplaceSdkText"
|
|
BeforeTargets="Build;AssignTargetPaths"
|
|
Inputs="$(MSBuildProjectFile);Sdk\Sdk.in.targets"
|
|
Outputs="$(IntermediateOutputPath)Sdk.targets">
|
|
|
|
<ReplaceText
|
|
Input="Sdk\Sdk.in.targets"
|
|
Output="$(IntermediateOutputPath)Sdk.targets"
|
|
OldValue="@GTKSHARPVERSION@"
|
|
NewValue="$(_GtkSharpVersion)"
|
|
/>
|
|
|
|
<ReplaceText
|
|
Input="$(IntermediateOutputPath)Sdk.targets"
|
|
Output="$(IntermediateOutputPath)Sdk.targets"
|
|
OldValue="@GTKSHARPNETVERSION@"
|
|
NewValue="$(_GtkSharpNetVersion)"
|
|
/>
|
|
|
|
<ItemGroup>
|
|
<None
|
|
Include="$(IntermediateOutputPath)Sdk.targets"
|
|
Link="Sdk\Sdk.targets"
|
|
CopyToOutputDirectory="PreserveNewest"
|
|
Pack="true"
|
|
PackagePath="Sdk"
|
|
Visible="false"
|
|
/>
|
|
<FileWrites Include="$(IntermediateOutputPath)Sdk.targets" />
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
|
|
</Project> |