Skip to content

Commit

Permalink
Copy conf.FastbuildCacheAllowed and conf.FastbuildDistribution proper…
Browse files Browse the repository at this point in the history
…ties when generating FastBuildAll project.
  • Loading branch information
sylvain-audi committed Jan 12, 2022
1 parent 77a764c commit 2041aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sharpmake/Solution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,10 @@ private void MakeFastBuildAllProjectIfNeeded(Builder builder, Dictionary<Solutio
// get some settings that are usually global from the first project
// we could expose those, if we need to set them specifically for FastBuildAllProject
var firstProject = projectConfigsToBuild.First();
projectConf.FastBuildCacheAllowed = firstProject.Configuration.FastBuildCacheAllowed;
projectConf.FastBuildCustomArgs = firstProject.Configuration.FastBuildCustomArgs;
projectConf.FastBuildCustomActionsBeforeBuildCommand = firstProject.Configuration.FastBuildCustomActionsBeforeBuildCommand;
projectConf.FastBuildDistribution = firstProject.Configuration.FastBuildDistribution;

// add all the projects to build as private dependencies, and OnlyBuildOrder
foreach (Configuration.IncludedProjectInfo projectConfigToBuild in projectConfigsToBuild)
Expand Down

0 comments on commit 2041aab

Please sign in to comment.