|
Makeprojects
|
Class to build CodeWarrior files. More...


Public Member Functions | |
| __init__ (self, file_name, priority, configuration, verbose=False, linkers=None) | |
| Class to handle CodeWarrior files. | |
| build (self) | |
| Build a Metrowerks Codewarrior 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. | |
| linkers = linkers | |
| The linker list. | |
| 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. | |
Class to build CodeWarrior files.
| makeprojects.codewarrior.BuildCodeWarriorFile.__init__ | ( | self, | |
| file_name, | |||
| priority, | |||
| configuration, | |||
| verbose = False, | |||
| linkers = None ) |
Class to handle CodeWarrior files.
| file_name | Pathname to the *.mcp to build |
| priority | Priority to build this object |
| configuration | Build configuration |
| verbose | True if verbose output |
| linkers | List of linkers required |
| makeprojects.codewarrior.BuildCodeWarriorFile.build | ( | self | ) |
Build a Metrowerks Codewarrior file.
Supports .mcp files for Windows, Mac, Wii and DSI.
Reimplemented from makeprojects.build_objects.BuildObject.
| makeprojects.codewarrior.BuildCodeWarriorFile.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.
Reimplemented from makeprojects.build_objects.BuildObject.