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.