(self, dir=os.getcwd(), args=[])
Generates IDE project files for the Unreal project in the specified directory
Generates IDE project files for the Unreal project in the specified directory
Generates IDE project files for the Unreal project in the specified directory
def generateProjectFiles(self, dir=os.getcwd(), args=[]):
		"""
		Generates IDE project files for the Unreal project in the specified directory
		"""
		
		# If the project is a pure Blueprint project, then we cannot generate project files
		if os.path.exists(os.path.join(dir, 'Source')) == False:
			Utility.printStderr('Pure Blueprint project, nothing to generate project files for.')
			return
		
		# Generate the project files
		genScript = self.getGenerateScript()
		projectFile = self.getProjectDescriptor(dir)
		Utility.run([genScript, '-project=' + projectFile, '-game', '-engine'] + args, cwd=os.path.dirname(genScript), raiseOnError=True)
def generateProjectFiles ( self , dir = os . getcwd ( ) , args = [ ] ) : # If the project is a pure Blueprint project, then we cannot generate project files if os . path . exists ( os . path . join ( dir , 'Source' ) ) == False : Utility . printStderr ( 'Pure Blueprint project, nothing to generate project files for.' ) return # Generate the project files genScript = self . getGenerateScript ( ) projectFile = self . getProjectDescriptor ( dir ) Utility . run ( [ genScript , '-project=' + projectFile , '-game' , '-engine' ] + args , cwd = os . path . dirname ( genScript ) , raiseOnError = True )