ProjectManager  0.2
Instance Methods | List of all members
<MakeBuilderDelegate> Protocol Reference
Inheritance diagram for <MakeBuilderDelegate>:
AggregateProjectType ApplicationProjectType BundleProjectType FrameworkProjectType PaletteProjectType

Instance Methods

(NSArray *) - buildTargetsForMakeBuilder:
 Asks the delegate to provide a list of build targets for the sending MakeBuilder. More...
 
(BOOL) - prepareForBuildByBuilder:target:
 Instructs a delegate to prepare itself for being built. More...
 
(NSArray *) - buildArgumentsForBuilder:target:
 Asks the delegate to provide arguments that should be passed to the build task. More...
 
(BOOL) - prepareForCleanByBuilder:target:
 Instructs a delegate to prepare itself for being cleaned. More...
 
(NSArray *) - cleanArgumentsForBuilder:target:
 Asks the delegate to provide arguments that should be passed to the clean task. More...
 

Method Documentation

◆ buildArgumentsForBuilder:target:

- (NSArray *) buildArgumentsForBuilder: (id)  sender
target: (NSString *)  target 

Asks the delegate to provide arguments that should be passed to the build task.

Parameters
senderThe builder which will execute the build.
targetThe target which will be built.
Returns
An array of string arguments which will be passed to the build task. Returning ‘nil’ means ‘no extra arguments’.

◆ buildTargetsForMakeBuilder:

- (NSArray *) buildTargetsForMakeBuilder: (id)  sender

Asks the delegate to provide a list of build targets for the sending MakeBuilder.

Parameters
senderThe sending MakeBuilder.
Returns
A list of target names.

◆ cleanArgumentsForBuilder:target:

- (NSArray *) cleanArgumentsForBuilder: (id)  sender
target: (NSString *)  target 

Asks the delegate to provide arguments that should be passed to the clean task.

Please note that the builder doesn't automatically append a ‘clean’ argument when cleaning.

Parameters
senderThe builder which will execute the clean.
targetThe target which will be cleaned.
Returns
An array of string arguments which will be passed to the clean task. Returning ‘nil’ means ‘no extra arguments’.

◆ prepareForBuildByBuilder:target:

- (BOOL) prepareForBuildByBuilder: (id)  sender
target: (NSString *)  target 

Instructs a delegate to prepare itself for being built.

The delegate should regenerate it's makefiles and perform any additional tasks necessary for a successful build.

Parameters
senderThe builder which will execute the build.
targetThe target which will be built.
Returns
YES if the builder may proceed with the build, NO if the build should be interrupted.

◆ prepareForCleanByBuilder:target:

- (BOOL) prepareForCleanByBuilder: (id)  sender
target: (NSString *)  target 

Instructs a delegate to prepare itself for being cleaned.

The delegate should regenerate it's makefiles and perform any additional tasks necessary for a successful clean.

Parameters
senderThe builder which will execute the clean.
targetThe target which will be cleaned.
Returns
YES if the builder may proceed with the clean, NO if the clean should be interrupted.

The documentation for this protocol was generated from the following file: