Skip to content

Conversation

Say-Y
Copy link
Contributor

@Say-Y Say-Y commented Oct 19, 2023

Only Unity (JUMBO) build was added.
reference: #234

Say-Y added 4 commits October 19, 2023 20:25
# Conflicts:
#	Sharpmake.Platforms/Sharpmake.CommonPlatforms/BasePlatform.Vcxproj.Template.cs
@jspelletier
Copy link
Collaborator

Have you ever checked the Blob feature in sharpmake? It is similar to jumbo builds but is not specific to msbuild.
Not that I am against adding support for jumbo builds.

public bool DoNotGenerateFastBuild = false;

// Unity builds support
public int MaxFilesPerUnityFile = 0;
Copy link
Collaborator

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

Suggested change
public int MaxFilesPerUnityFile = 0;
public int MaxFilesPerJumboFile = 0;


// 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these changes ?

using System.Diagnostics;
using System.Linq;
using System.Reflection;
using static Sharpmake.EngineTarget;
Copy link
Collaborator

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.

<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Copy link
Collaborator

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": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert this file.

@Say-Y
Copy link
Contributor Author

Say-Y commented Nov 1, 2023

Personal codes was push as my mistake. I've reverted that code.
I will write another pull request reflecting the changes.

@Say-Y Say-Y closed this Nov 1, 2023
@Say-Y Say-Y mentioned this pull request Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants