|
IDE-Generator Python
|
Functions | |
| xcode_quote_string_if_needed (input_path) | |
| Quote a string for XCode. | |
| xcode_determine_source_type (input_path) | |
| Using a file extension, map to XCode file type. | |
Variables | |
| _XCODESAFESET | |
| Valid characters for XCode strings without quoting. | |
| list | _XCODE_FILE_TYPES |
Sub file for ide_gen.
Subroutines to handle string fixups for IDE projects
This module contains classes needed to fixup strings for IDE projects
| ide_gen.string_utils.xcode_determine_source_type | ( | input_path | ) |
Using a file extension, map to XCode file type.
| input_path | Pathname to test |
| ide_gen.string_utils.xcode_quote_string_if_needed | ( | input_path | ) |
Quote a string for XCode.
XCode requires quotes for certain characters. If any illegal character exist in the string, the string will be reencoded to a quoted string using XCode JSON rules.
| input_path | string to encapsulate. |