|
Makeprojects
|
Root object for a Makefile make file Created with the name of the project, the IDE code the platform code (Linux) More...
Public Member Functions | |
| __init__ (self, solution) | |
| Initialize the exporter. | |
| write_header (self, line_list) | |
| Write the header for a gnu makefile. | |
| write_output_list (self, line_list) | |
| Output the list of object files to create. | |
| write_phony_targets (self, line_list) | |
| Output all of the .PHONY targets. | |
| write_directory_targets (self, line_list) | |
| Create directory and make file targets. | |
| write_test_variables (self, line_list) | |
| Create tests for environment variables. | |
| write_configurations (self, line_list) | |
| Write configuration list. | |
| write_source_dir (self, line_list) | |
| Write out the list of directories for the source. | |
| write_rules (self, line_list) | |
| Output the default rules for building object code. | |
| write_files (self, line_list) | |
| Output the list of object files to create. | |
| write_all_target (self, line_list) | |
| Output the all rule. | |
| write_custom_files (self, line_list) | |
| Output the list of object files to create. | |
| write_builds (self, line_list) | |
| Output the rule to build the exes/libs. | |
| generate (self, line_list=None) | |
| Write out the makefile project. | |
Static Public Member Functions | |
| write_default_goal (line_list) | |
| Write the default goal for the makefile. | |
Public Attributes | |
| solution = solution | |
| Parent solution. | |
| list | platforms = [] |
| List of all platform types. | |
| list | configuration_list = [] |
| List of all configurations. | |
| list | configuration_names = [] |
| List of configuration names. | |
| custom_list = custom_list | |
| List of custom built files. | |
| output_list = get_output_list(custom_list) | |
| List of custom output files. | |
Protected Member Functions | |
| _write_phony_all (self, line_list) | |
| Generate all phony target. | |
| _write_phony_configurations (self, line_list) | |
| Generate phony configuration targets. | |
| _write_phony_platforms (self, line_list) | |
| Generate a list of platforms. | |
| _write_phony_binaries (self, line_list) | |
| Generate phony targets for binaries. | |
| _setcppflags (self, line_list) | |
| Output the default rules for C and C++. | |
| _setasmflags (self, line_list) | |
| Output the default rules for assembler. | |
| _setlinkerflags (self, line_list) | |
| Output the default rules for linker. | |
Root object for a Makefile make file Created with the name of the project, the IDE code the platform code (Linux)
| makeprojects.makefile.MakeProject.__init__ | ( | self, | |
| solution ) |
Initialize the exporter.
| solution | Solution object to build from. |
|
protected |
Output the default rules for assembler.
| line_list | List of lines of text generated. |
|
protected |
Output the default rules for C and C++.
| line_list | List of lines of text generated. |
|
protected |
Output the default rules for linker.
| line_list | List of lines of text generated. |
|
protected |
Generate all phony target.
| line_list | List of lines of text generated. |
|
protected |
Generate phony targets for binaries.
| line_list | List of lines of text generated. |
|
protected |
Generate phony configuration targets.
| line_list | List of lines of text generated. |
|
protected |
Generate a list of platforms.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.generate | ( | self, | |
| line_list = None ) |
Write out the makefile project.
| line_list | string list to save the XML text |
| makeprojects.makefile.MakeProject.write_all_target | ( | self, | |
| line_list ) |
Output the all rule.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_builds | ( | self, | |
| line_list ) |
Output the rule to build the exes/libs.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_configurations | ( | self, | |
| line_list ) |
Write configuration list.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_custom_files | ( | self, | |
| line_list ) |
Output the list of object files to create.
| line_list | List of lines of text generated. |
|
static |
Write the default goal for the makefile.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_directory_targets | ( | self, | |
| line_list ) |
Create directory and make file targets.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_files | ( | self, | |
| line_list ) |
Output the list of object files to create.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_header | ( | self, | |
| line_list ) |
Write the header for a gnu makefile.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_output_list | ( | self, | |
| line_list ) |
Output the list of object files to create.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_phony_targets | ( | self, | |
| line_list ) |
Output all of the .PHONY targets.
Create all of the targets, starting with all, and then all the configurations, followed by the clean targets
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_rules | ( | self, | |
| line_list ) |
Output the default rules for building object code.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_source_dir | ( | self, | |
| line_list ) |
Write out the list of directories for the source.
| line_list | List of lines of text generated. |
| makeprojects.makefile.MakeProject.write_test_variables | ( | self, | |
| line_list ) |
Create tests for environment variables.
| line_list | List of lines of text generated. |