Skip to content

Commit

Permalink
Merge pull request #197 from FabianRMD/add-buildMultitargeting-and-bu…
Browse files Browse the repository at this point in the history
…ildTransitive-AssetDependency

Added support for buildMultitargeting and buildTransitive in AssetDependency
  • Loading branch information
belkiss committed Apr 1, 2022
2 parents 8f9f24a + e3a6eaa commit 1cbb816
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Sharpmake/PackageReferences.cs
Expand Up @@ -128,6 +128,16 @@ internal static IEnumerable<string> GetFormatedAssetsDependency(AssetsDependency
{
yield return "native";
}

if (dependency.HasFlag(AssetsDependency.BuildMultitargeting))
{
yield return "buildMultitargeting";
}

if (dependency.HasFlag(AssetsDependency.BuildTransitive))
{
yield return "buildTransitive";
}
}
}

Expand Down Expand Up @@ -184,7 +194,9 @@ public enum AssetsDependency : uint
Analysers = 1 << 4,
Analyzers = 1 << 4,
Native = 1 << 5,
All = Compile | Runtime | ContentFiles | Build | Analyzers | Native
BuildMultitargeting = 1 << 6,
BuildTransitive = 1 << 7,
All = Compile | Runtime | ContentFiles | Build | Analyzers | Native | BuildMultitargeting | BuildTransitive
}

internal const AssetsDependency DefaultPrivateAssets =
Expand Down

0 comments on commit 1cbb816

Please sign in to comment.