if using -GAME option of GenerateProjectFiles.bat, it does not work correctly by the following codes.
protected void AddProjectsForAllModules( List<FileReference> AllGames, Dictionary<FileReference, ProjectFile> ProgramProjects, List<ProjectFile> ModProjects, List<FileReference> AllModuleFiles, bool bGatherThirdPartySource )protected void AddProjectsForAllModules( List<FileReference> AllGames, Dictionary<FileReference, ProjectFile> ProgramProjects, List<ProjectFile> ModProjects, List<FileReference> AllModuleFiles, bool bGatherThirdPartySource ) { HashSet<ProjectFile> ProjectsWithPlugins = new HashSet<ProjectFile>(); foreach( FileReference CurModuleFile in AllModuleFiles ) { ... // check for engine, or platform extension engine folders if( !bIncludeEngineSource ) { if (CurModuleFile.IsUnderDirectory(UnrealBuildTool.EngineDirectory)) { // We were asked to exclude engine modules from the generated projects WantProjectFileForModule = false; break; ...
the codes was added by CL-12676637, but it should uses "continue;",not "break;"
expect : EngineTest.sln containes cpp files of Engine Test project
result : it does not contain them.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-119537 in the post.
2 |
Component | UE - Foundation - Cpp Tools - UnrealBuildTool |
---|---|
Affects Versions | 4.26, 4.27 |
Target Fix | 4.27.2 |
Created | Jul 13, 2021 |
---|---|
Resolved | Oct 13, 2021 |
Updated | Dec 1, 2022 |