/// <summary>
		/// Constructor
		/// </summary>
		public VisualStudioSolutionFolder(ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName)
			: base(InitOwnerProjectFileGenerator, InitFolderName)
		{
			// Generate a unique GUID for this folder
			// NOTE: When saving generated project files, we ignore differences in GUIDs if every other part of the file
			//       matches identically with the pre-existing file
			FolderGUID = Guid.NewGuid();
		}
		/// <summary>
		/// Allow various platform project generators to generate stub projects if required
		/// </summary>
		/// <param name="InTargetName"></param>
		/// <param name="InTargetFilepath"></param>
		/// <returns></returns>
		public static bool GenerateGameProjectStubs(ProjectFileGenerator InGenerator, string InTargetName, string InTargetFilepath, TargetRules InTargetRules,
			List<UnrealTargetPlatform> InPlatforms, List<UnrealTargetConfiguration> InConfigurations)
		{
			foreach (KeyValuePair<UnrealTargetPlatform, UEPlatformProjectGenerator> Entry in ProjectGeneratorDictionary)
			{
				UEPlatformProjectGenerator ProjGen = Entry.Value;
				ProjGen.GenerateGameProjectStub(InGenerator, InTargetName, InTargetFilepath, InTargetRules, InPlatforms, InConfigurations);
			}
			return true;
		}
Esempio n. 3
0
 /// <summary>
 /// Generates project files.  Can also be used to generate projects "in memory", to allow for building
 /// targets without even having project files at all.
 /// </summary>
 /// <param name="Generator">Project generator to use</param>
 /// <param name="Arguments">Command-line arguments</param>
 /// <returns>True if successful</returns>
 public static bool GenerateProjectFiles(ProjectFileGenerator Generator, string[] Arguments)
 {
     bool bSuccess;
     ProjectFileGenerator.bGenerateProjectFiles = true;
     Generator.GenerateProjectFiles(Arguments, out bSuccess);
     ProjectFileGenerator.bGenerateProjectFiles = false;
     return bSuccess;
 }
		public virtual void GenerateGameProjectStub(ProjectFileGenerator InGenerator, string InTargetName, string InTargetFilepath, TargetRules InTargetRules,
			List<UnrealTargetPlatform> InPlatforms, List<UnrealTargetConfiguration> InConfigurations)
		{
			// Do nothing
		}
Esempio n. 5
0
 /// <summary>
 /// Allocates a generator-specific master project folder object
 /// </summary>
 /// <param name="InitOwnerProjectFileGenerator">Project file generator that owns this object</param>
 /// <param name="InitFolderName">Name for this folder</param>
 /// <returns>The newly allocated project folder object</returns>
 public abstract MasterProjectFolder AllocateMasterProjectFolder(ProjectFileGenerator OwnerProjectFileGenerator, string FolderName );
Esempio n. 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="InitOwnerProjectFileGenerator">Project file generator that owns this object</param>
 /// <param name="InitFolderName">Name for this folder</param>
 public MasterProjectFolder( ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName )
 {
     OwnerProjectFileGenerator = InitOwnerProjectFileGenerator;
     FolderName = InitFolderName;
 }
		/// ProjectFileGenerator interface
		public override MasterProjectFolder AllocateMasterProjectFolder(ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName)
		{
			return new VisualStudioSolutionFolder(InitOwnerProjectFileGenerator, InitFolderName);
		}
Esempio n. 8
0
 /// ProjectFileGenerator interface
 public override MasterProjectFolder AllocateMasterProjectFolder( ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName )
 {
     return new QMakefileFolder( InitOwnerProjectFileGenerator, InitFolderName );
 }
Esempio n. 9
0
 /// <summary>
 /// Constructor
 /// </summary>
 public QMakefileFolder( ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName )
     : base(InitOwnerProjectFileGenerator, InitFolderName)
 {
 }
Esempio n. 10
0
		/// <summary>
		/// Constructor
		/// </summary>
		public KDevelopFolder( ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName )
			: base(InitOwnerProjectFileGenerator, InitFolderName)
		{
		}
Esempio n. 11
0
 public CodeLiteFolder( ProjectFileGenerator InitOwnerProjectFileGenerator, string InitFolderName )
     : base(InitOwnerProjectFileGenerator, InitFolderName)
 {
 }