|
Makeprojects
|
Enumeration types for makeprojects. More...
Classes | |
| class | FileTypes |
| Enumeration of supported file types for project input. More... | |
| class | IDETypes |
| Enumeration of supported IDEs. More... | |
| class | PlatformTypes |
| Enumeration of supported target platforms. More... | |
| class | ProjectTypes |
| Enumeration of supported project types. More... | |
Functions | |
| source_file_filter (file_list, file_type_list) | |
| Prune the file list for a specific type. | |
| source_file_detect (file_list, file_type_list) | |
| Detect if a file of a specific type exists. | |
| get_installed_visual_studio () | |
| Find installed Visual Studio version. | |
| get_installed_xcode () | |
| Find installed Xcode version. | |
| platformtype_short_code (configurations) | |
| Iterate over a list of Configurations to determine the short code. | |
| get_output_template (project_type, platform) | |
| Determine the file prefix and suffix for the binary. | |
| add_burgerlib (configuration) | |
| Add burgerlib to a project. | |
Variables | |
| dict | _FILETYPES_LOOKUP |
| Dictionary of default file extensions and mapped types. | |
| dict | _FILETYPES_READABLE |
| List of human readable strings. | |
| dict | _PROJECTTYPES_READABLE |
| List of human readable strings. | |
| dict | _IDETYPES_CODES |
| List of IDE short codes. | |
| dict | _IDETYPES_READABLE |
| List of human readable strings. | |
| dict | _PLATFORMTYPES_CODES |
| List of platform short codes. | |
| dict | _PLATFORMTYPES_VS |
| List of Visual Studio platform codes. | |
| dict | _PLATFORMTYPES_READABLE |
| List of human readable strings. | |
| dict | _PLATFORMTYPES_EXPANDED |
| List of platforms that expand to multiple targets. | |
Enumeration types for makeprojects.
All enumerations are stored in this package
| makeprojects.enums.add_burgerlib | ( | configuration | ) |
Add burgerlib to a project.
In a build_rules.py file, the function rules() can call this function to add burgerlib to the project.
| configuration | Configuration to modify |
| makeprojects.enums.get_installed_visual_studio | ( | ) |
| makeprojects.enums.get_installed_xcode | ( | ) |
| makeprojects.enums.get_output_template | ( | project_type, | |
| platform ) |
Determine the file prefix and suffix for the binary.
Using the project type and platform, determine if the final binary name template so that if the output was used with format(), it will create the binary filename appropriate for the platform.
| project_type | ProjectTypes enum |
| platform | PlatformTypes enum |
| makeprojects.enums.platformtype_short_code | ( | configurations | ) |
Iterate over a list of Configurations to determine the short code.
For files that create multiple platforms, determine if it matches a known expandable PlatformType
| configurations | List of configurations to scan |
| makeprojects.enums.source_file_detect | ( | file_list, | |
| file_type_list ) |
Detect if a file of a specific type exists.
| file_list | list of core.SourceFile entries. |
| file_type_list | enums.FileTypes to match. |
| makeprojects.enums.source_file_filter | ( | file_list, | |
| file_type_list ) |
Prune the file list for a specific type.
| file_list | list of core.SourceFile entries. |
| file_type_list | enums.FileTypes to match. |
|
protected |
Dictionary of default file extensions and mapped types.
When the directory is scanned for input files, the files will be tested against this list with a forced lowercase filename and determine the type of compiler to assign to an input file
This list can be appended or modified to allow other file types to be processed
|
protected |
List of human readable strings.
Dictionary to map FileTypes enumerations into an human readable string
|
protected |
List of IDE short codes.
Dictionary to map IDETypes enumerations into a three letter code to append to a project filename
|
protected |
List of human readable strings.
Dictionary to map IDETypes enumerations into an human readable string
|
protected |
List of platform short codes.
Dictionary to map PlatformTypes enumerations into a three or six letter code to append to a project filename
|
protected |
List of platforms that expand to multiple targets.
Dictionary to map generic PlatformTypes enumerations into lists.
|
protected |
List of human readable strings.
Dictionary to map PlatformTypes enumerations into an human readable string
|
protected |
List of Visual Studio platform codes.
Visual Studio uses specific codes for tool chains used for video game consoles or CPUs
|
protected |
List of human readable strings.
Dictionary to map ProjectTypes enumerations into an human readable string