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

Each PBXNative entry. More...

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

Public Member Functions

 __init__ (self, parent, name, productreference, productname, producttype, build_rules)
 Init PBXNativeTarget.
 add_build_phase (self, build_phase)
 Append a Buildphase target.
 add_dependency (self, target_dependency)
 Append a dependency.
 set_config_list (self, config_list_reference)
 Attach a configuration list.
 generate (self, line_list, indent=0)
 Write this record to output.

Public Attributes

 build_config_list
 JSONEntry of configurations.
 build_phases = JSONArray("buildPhases")
 JSONArray of build phases.
 build_rules = JSONArray("buildRules")
 JSONArray of build rules.
 dependencies = JSONArray("dependencies")
 JSONArray of dependencies.
 parent = parent
 Objects record (Parent)
 target_name = name
 Name of the target.

Detailed Description

Each PBXNative entry.

Constructor & Destructor Documentation

◆ __init__()

makeprojects.xcode.PBXNativeTarget.__init__ ( self,
parent,
name,
productreference,
productname,
producttype,
build_rules )

Init PBXNativeTarget.

Parameters
parentParent object
nameName of the Native target
productreferenceReference to the object being built
productnameName of the project being built
producttypeType of product being built
build_rulesBuild_rules reference

Member Function Documentation

◆ add_build_phase()

makeprojects.xcode.PBXNativeTarget.add_build_phase ( self,
build_phase )

Append a Buildphase target.

Parameters
build_phaseBuild phase object

◆ add_dependency()

makeprojects.xcode.PBXNativeTarget.add_dependency ( self,
target_dependency )

Append a dependency.

Parameters
target_dependencyTarget to depend on.

Member Data Documentation

◆ build_config_list

makeprojects.xcode.PBXNativeTarget.build_config_list
Initial value:
= JSONEntry(
"buildConfigurationList",
("Build configuration list "
"for PBXNativeTarget \"{}\"").format(name),
enabled=False)

JSONEntry of configurations.