-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity(JUMBO) build support #305
Conversation
# Conflicts: # Sharpmake.Platforms/Sharpmake.CommonPlatforms/BasePlatform.Vcxproj.Template.cs
Have you ever checked the Blob feature in sharpmake? It is similar to jumbo builds but is not specific to msbuild. |
@@ -1605,6 +1605,9 @@ public string FastBuildUnityPath | |||
/// </remarks> | |||
public bool DoNotGenerateFastBuild = false; | |||
|
|||
// Unity builds support | |||
public int MaxFilesPerUnityFile = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could maybe reuse the BlobCount
public int MaxFilesPerUnityFile = 0; | |
public int MaxFilesPerJumboFile = 0; |
Sharpmake/Project.Configuration.cs
Outdated
@@ -2476,11 +2479,13 @@ public bool DefaultAddFastBuildProjectToSolution() | |||
private Dictionary<ValueTuple<Type, ITarget>, DependencySetting> _dependenciesSetting = new Dictionary<ValueTuple<Type, ITarget>, DependencySetting>(); | |||
|
|||
// These dependencies will not be propagated to other projects that depend on us | |||
internal IDictionary<Type, ITarget> UnResolvedPrivateDependencies { get; } = new Dictionary<Type, ITarget>(); | |||
//internal IDictionary<Type, ITarget> UnResolvedPrivateDependencies { get; } = new Dictionary<Type, ITarget>(); // hbkim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are these changes ?
Sharpmake/Target.cs
Outdated
@@ -7,6 +7,8 @@ | |||
using System.Diagnostics; | |||
using System.Linq; | |||
using System.Reflection; | |||
using static Sharpmake.EngineTarget; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this do not belong in sharpmake codebase.
Define your own Target and fragments in your sharpmake scripts.
@@ -35,5 +35,13 @@ | |||
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck> | |||
</PropertyGroup> | |||
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert these
@@ -1,164 +1,157 @@ | |||
{ | |||
"profiles": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert this file.
Personal codes was push as my mistake. I've reverted that code. |
Only Unity (JUMBO) build was added.
reference: #234