|
Makeprojects
|
Visual Studio 2003-2008 Configurations record. More...


Public Member Functions | |
| __init__ (self, configuration, base_name, source_file) | |
| Init defaults. | |
| check_for_exclusion (self, base_name) | |
| Given a filename, check if it's excluded from the build. | |
| handle_vs2003_rules (self, rule_list, base_name, tool_name, tool_enums) | |
| Since 2003 doesn't use rule files, do it all manually. | |
| handle_vs2005_rules (self, rule_list, base_name, tool_name, tool_enums) | |
| Check if there are rules or records specific to a configuration. | |
| Public Member Functions inherited from makeprojects.visual_studio.VS2003XML | |
| __init__ (self, name, attributes=None, force_pair=False) | |
| Set the defaults. | |
| add_attribute (self, attribute) | |
| Add an attribute object. | |
| add_attributes (self, attributes) | |
| Add a list of attribute objects. | |
| add_element (self, element) | |
| Add an element to this XML element. | |
| set_attribute (self, name, value) | |
| Change existing attribute. | |
| remove_attribute (self, name) | |
| Remove an attribute. | |
| reset_attribute (self, name) | |
| Reset an attribute to default. | |
| generate (self, line_list=None, indent=0, ide=None) | |
| Generate the text lines for this XML element. | |
| __repr__ (self) | |
| Convert the solution record into a human readable description. | |
| __str__ (self) | |
| Convert the solultion record into a human readable description. | |
Public Attributes | |
| configuration = configuration | |
| Parent configuration. | |
| source_file = source_file | |
| Source code file. | |
| Public Attributes inherited from makeprojects.visual_studio.VS2003XML | |
| name = name | |
| Name of this XML chunk. | |
| force_pair = force_pair | |
| Disable <foo/> syntax. | |
| list | elements = [] |
| List of elements in this element. | |
| list | attributes = [] |
| List of valid attributes and defaults. | |
Visual Studio 2003-2008 Configurations record.
| makeprojects.visual_studio.VS2003FileConfiguration.__init__ | ( | self, | |
| configuration, | |||
| base_name, | |||
| source_file ) |
Init defaults.
| configuration | Configuration record to extract defaults. |
| base_name | Base filename |
| source_file | SourceFile reference |
| makeprojects.visual_studio.VS2003FileConfiguration.check_for_exclusion | ( | self, | |
| base_name ) |
Given a filename, check if it's excluded from the build.
If the source file is in the exclusion list, or it's an assembly file for the wrong build target, mark it as excluded from the build
| base_name | Base name of the file to check |
| makeprojects.visual_studio.VS2003FileConfiguration.handle_vs2003_rules | ( | self, | |
| rule_list, | |||
| base_name, | |||
| tool_name, | |||
| tool_enums ) |
Since 2003 doesn't use rule files, do it all manually.
| rule_list | Tuple of dicts for all rules to apply |
| base_name | Name of the file to check |
| tool_name | Name of the build tool |
| tool_enums | Enumeration lookup for the specific tool |
| makeprojects.visual_studio.VS2003FileConfiguration.handle_vs2005_rules | ( | self, | |
| rule_list, | |||
| base_name, | |||
| tool_name, | |||
| tool_enums ) |
Check if there are rules or records specific to a configuration.
| rule_list | Tuple of dicts for all rules to apply |
| base_name | Name of the file to check |
| tool_name | Name of the build tool |
| tool_enums | Enumeration lookup for the specific tool |