|
Makeprojects
|
Package that reads, parses and processes the configuration file. More...
Functions | |
| save_default (working_directory=None, destinationfile=BUILD_RULES_PY) | |
| Calls the internal function to save a default .projectsrc file. | |
| find_default_build_rules () | |
| Search for the build_rules.py file. | |
Variables | |
| str | _XCODEPROJECT_FILE |
| The filename project.pbxproj. | |
| _XCODEPROJ_MATCH | |
| Match *.xcodeproj. | |
| _HLSL_MATCH | |
| Match *.hlsl. | |
| _GLSL_MATCH | |
| Match *.glsl. | |
| _X360SL_MATCH | |
| Match *.x360sl. | |
| _VITACG_MATCH | |
| Match *.vitacg. | |
| _MAKEFILE_MATCH | |
| Match *.mak. | |
| str | BUILD_RULES_PY = "build_rules.py" |
| build_rules.py file to detect secondly | |
| str | _BUILD_RULES_VAR |
| BUILD_RULES_PY location environment variable. | |
| USER_HOME = os.path.expanduser("~") | |
| Location of the user's home directory. | |
| PROJECTS_HOME = os.environ["MAKE_PROJECTS_HOME"] | |
| Location of makeprojects home directory if redirected. | |
| DEFAULT_BUILD_RULES = find_default_build_rules() | |
| Full pathname of the configuration file. | |
Package that reads, parses and processes the configuration file.
| makeprojects.config.find_default_build_rules | ( | ) |
Search for the build_rules.py file.
Scan for the build_rules.py file starting from the current working directory and search downwards until the root directoy is it. If not found, search in the user's home directory or for linux/macOS, in /etc
| makeprojects.config.save_default | ( | working_directory = None, | |
| destinationfile = BUILD_RULES_PY ) |
Calls the internal function to save a default .projectsrc file.
Given a pathname, create and write out a default .projectsrc file that can be used as input to makeprojects to generate project files.
| working_directory | Directory to save the destination file |
| destinationfile | Pathname of where to save the default configuation file |