|
Makeprojects
|
Root object for a Watcom IDE project file. More...
Public Member Functions | |
| __init__ (self, solution) | |
| Initialize the exporter. | |
| write_header (self, line_list) | |
| Write the header for a Watcom wmake file. | |
| write_test_variables (self, line_list) | |
| Create tests for environment variables. | |
| write_extensions (self, line_list) | |
| Write the list of acceptable file extensions. | |
| write_include_dlls (self, line_list) | |
| Write the commands to include the DLLs for wmake. | |
| write_output_list (self, line_list) | |
| Output the list of object files to create. | |
| write_all_targets (self, line_list) | |
| Output all of the .SYMBOLIC targets. | |
| write_directory_targets (self, line_list) | |
| Create directory and make file targets. | |
| 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_res_files (self, line_list) | |
| Output the list of resource files to create. | |
| write_custom_files (self, line_list) | |
| Output the list of object files to create. | |
| write_builds (self, line_list, has_rez) | |
| Output the rule to build the exes/libs. | |
| generate (self, line_list=None) | |
| Write out the watcom make project. | |
Public Attributes | |
| solution = solution | |
| Parent solution. | |
| platforms = 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 symbolic target. | |
| _write_phony_configurations (self, line_list) | |
| Generate symbolic 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. | |
| _setresourceflags (self, line_list) | |
| Output the default rules for resource compiler. | |
Static Protected Member Functions | |
| _setwatcomdirs (line_list) | |
| Output the default rules for building object code. | |
Root object for a Watcom IDE project file.
Created with the name of the project, the IDE code the platform code (4gw, x32, win)
| makeprojects.watcom.WatcomProject.__init__ | ( | self, | |
| solution ) |
Initialize the exporter.
| solution | Parent solution. |
|
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 |
Output the default rules for resource compiler.
| line_list | List of lines of text generated. |
|
protected |
Generate all symbolic 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 symbolic 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.watcom.WatcomProject.generate | ( | self, | |
| line_list = None ) |
Write out the watcom make project.
| line_list | string list to save the XML text |
| makeprojects.watcom.WatcomProject.write_all_targets | ( | self, | |
| line_list ) |
Output all of the .SYMBOLIC 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.watcom.WatcomProject.write_builds | ( | self, | |
| line_list, | |||
| has_rez ) |
Output the rule to build the exes/libs.
| line_list | List of lines of text generated. |
| has_rez | Is there a Windows Resource file to link in |
| makeprojects.watcom.WatcomProject.write_configurations | ( | self, | |
| line_list ) |
Write configuration list.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_custom_files | ( | self, | |
| line_list ) |
Output the list of object files to create.
| line_list | XList of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_directory_targets | ( | self, | |
| line_list ) |
Create directory and make file targets.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_extensions | ( | self, | |
| line_list ) |
Write the list of acceptable file extensions.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_files | ( | self, | |
| line_list ) |
Output the list of object files to create.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_header | ( | self, | |
| line_list ) |
Write the header for a Watcom wmake file.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_include_dlls | ( | self, | |
| line_list ) |
Write the commands to include the DLLs for wmake.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_output_list | ( | self, | |
| line_list ) |
Output the list of object files to create.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_res_files | ( | self, | |
| line_list ) |
Output the list of resource files to create.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_rules | ( | self, | |
| line_list ) |
Output the default rules for building object code.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_source_dir | ( | self, | |
| line_list ) |
Write out the list of directories for the source.
| line_list | List of lines of text generated. |
| makeprojects.watcom.WatcomProject.write_test_variables | ( | self, | |
| line_list ) |
Create tests for environment variables.
| line_list | List of lines of text generated. |