Makeprojects
Loading...
Searching...
No Matches
makeprojects.xcode.BuildXCodeFile Class Reference

Class to build Apple XCode files. More...

Inheritance diagram for makeprojects.xcode.BuildXCodeFile:
Collaboration diagram for makeprojects.xcode.BuildXCodeFile:

Public Member Functions

 __init__ (self, file_name, priority, configuration, verbose=False)
 Class to handle XCode files.
 build_clean (self, build=True)
 Build a macOS XCode file.
 build (self)
 Build a macOS XCode file.
 clean (self)
 Delete temporary files.
Public Member Functions inherited from makeprojects.build_objects.BuildObject
 __init__ (self, file_name, priority=None, configuration=None)
 Initializers for an BuildObject.
 run_command (self, cmd, verbose)
 Issue a command and return the generated BuildError.
 __repr__ (self)
 Convert the object into a string.
 __str__ (self)
 Convert the object into a string.

Public Attributes

 verbose = verbose
 The verbose flag.
Public Attributes inherited from makeprojects.build_objects.BuildObject
 file_name = os.path.abspath(file_name)
 Name of file to build.
 priority = int(priority)
 Numeric priorty in ascending order.
 configuration = configuration
 Configuration if applicable.

Detailed Description

Class to build Apple XCode files.

Constructor & Destructor Documentation

◆ __init__()

makeprojects.xcode.BuildXCodeFile.__init__ ( self,
file_name,
priority,
configuration,
verbose = False )

Class to handle XCode files.

Parameters
file_namePathname to the *.xcodeproj to build
priorityPriority to build this object
configurationBuild configuration
verboseTrue if verbose output

Member Function Documentation

◆ build()

makeprojects.xcode.BuildXCodeFile.build ( self)

Build a macOS XCode file.

  Supports .xcodeproj files from Xcode 3 and later.
Returns
List of BuildError objects
See also
parse_xcodeproj_file

Reimplemented from makeprojects.build_objects.BuildObject.

◆ build_clean()

makeprojects.xcode.BuildXCodeFile.build_clean ( self,
build = True )

Build a macOS XCode file.

  Supports .xcodeproj files from Xcode 3 and later.
Returns
List of BuildError objects
See also
parse_xcodeproj_file

◆ clean()

makeprojects.xcode.BuildXCodeFile.clean ( self)

Delete temporary files.

  This function is called by ``cleanme`` to remove temporary files.

  On exit, return 0 for no error, or a non zero error code if there was an
  error to report. None if not implemented or not applicable.
Returns
None if not implemented, otherwise an integer error code.

Reimplemented from makeprojects.build_objects.BuildObject.