Constants

Setup strings

These strings are used for version control and setup.py for distribution.

__numversion__

makeprojects.__numversion__ = (1, 1, 1)

Current version of the library as a numeric tuple.

__version__

makeprojects.__version__ = ".".join([str(num) for num in __numversion__])

Current version of the library.

__author__

makeprojects.__author__ = "Rebecca Ann Heineman <becky@burgerbecky.com>"

Author’s name.

__title__

makeprojects.__title__ = "makeprojects"

Name of the module.

__summary__

makeprojects.__summary__ = "IDE project generator for Visual Studio, XCode, etc..."

Summary of the module’s use.

__uri__

makeprojects.__uri__ = "http://makeprojects.readthedocs.io"

Home page.

__email__

makeprojects.__email__ = "becky@burgerbecky.com"

Email address for bug reports.

__license__

makeprojects.__license__ = "MIT License"

Type of license used for distribution.

Internal constants

Constants used internally by this package.

_XCODEPROJECT_FILE

makeprojects.config._XCODEPROJECT_FILE

The filename project.pbxproj.

_XCODEPROJ_MATCH

makeprojects.config._XCODEPROJ_MATCH

Match *.xcodeproj.

_HLSL_MATCH

makeprojects.config._HLSL_MATCH

Match *.hlsl.

_GLSL_MATCH

makeprojects.config._GLSL_MATCH

Match *.glsl.

_X360SL_MATCH

makeprojects.config._X360SL_MATCH

Match *.x360sl.

_VITACG_MATCH

makeprojects.config._VITACG_MATCH

Match *.vitacg.

Internal tables

enums._FILETYPES_LOOKUP

makeprojects.enums._FILETYPES_LOOKUP

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

enums._FILETYPES_READABLE

makeprojects.enums._FILETYPES_READABLE

List of human readable strings.

Dictionary to map FileTypes enumerations into an human readable string

enums._IDETYPES_CODES

makeprojects.enums._IDETYPES_CODES

List of IDE short codes.

Dictionary to map IDETypes enumerations into a three letter code to append to a project filename

enums._IDETYPES_READABLE

makeprojects.enums._IDETYPES_READABLE

List of human readable strings.

Dictionary to map IDETypes enumerations into an human readable string

enums._PLATFORMTYPES_CODES

makeprojects.enums._PLATFORMTYPES_CODES

List of platform short codes.

Dictionary to map PlatformTypes enumerations into a three or six letter code to append to a project filename

enums._PLATFORMTYPES_EXPANDED

makeprojects.enums._PLATFORMTYPES_EXPANDED

List of platforms that expand to multiple targets.

Dictionary to map generic PlatformTypes enumerations into lists.

enums._PLATFORMTYPES_READABLE

makeprojects.enums._PLATFORMTYPES_READABLE

List of human readable strings.

Dictionary to map PlatformTypes enumerations into an human readable string

enums._PLATFORMTYPES_VS

makeprojects.enums._PLATFORMTYPES_VS

List of Visual Studio platform codes.

Visual Studio uses specific codes for tool chains used for video game consoles or CPUs

enums._PROJECTTYPES_READABLE

makeprojects.enums._PROJECTTYPES_READABLE

List of human readable strings.

Dictionary to map ProjectTypes enumerations into an human readable string

Folder locations

config.BUILD_RULES_PY

makeprojects.config.BUILD_RULES_PY = "build_rules.py"

build_rules.py file to detect secondly

config._BUILD_RULES_VAR

makeprojects.config._BUILD_RULES_VAR

BUILD_RULES_PY location environment variable.

config.USER_HOME

makeprojects.config.USER_HOME = os.path.expanduser("~")

Location of the user’s home directory.

config.PROJECTS_HOME

makeprojects.config.PROJECTS_HOME = os.environ["MAKE_PROJECTS_HOME"]

Location of makeprojects home directory if redirected.

config.DEFAULT_BUILD_RULES

makeprojects.config.DEFAULT_BUILD_RULES = find_default_build_rules()

Full pathname of the configuration file.

Build Constants

python.BUILD_LIST

makeprojects.python.BUILD_LIST = ((1, "prebuild"),(40, "build"),(99, "postbuild"))

Default build_rules.py command list, priority / entrypoint.

codewarrior.CODEWARRIOR_ERRORS

makeprojects.codewarrior.CODEWARRIOR_ERRORS = (None,"error opening file","project not open","IDE is already building","invalid target name (for /t flag)","error changing current target","error removing objects","build was cancelled","build failed","process aborted","error importing project","error executing debug script","attempted use of /d together with /b and/or /r")

Tuple of Codewarrior IDE error messages.

codewarrior._CW_SUPPORTED_LINKERS

makeprojects.codewarrior._CW_SUPPORTED_LINKERS

Tuple of supported codewarrior linkers.

visual_studio._VS_VERSION_YEARS

makeprojects.visual_studio._VS_VERSION_YEARS

Dict of version year strings to integers 2012-2022.

visual_studio._VS_OLD_VERSION_YEARS

makeprojects.visual_studio._VS_OLD_VERSION_YEARS

Dict of version year strings 2003-2012 to integers.

visual_studio._VS_SDK_ENV_VARIABLE

makeprojects.visual_studio._VS_SDK_ENV_VARIABLE

Dict of environment variables for game consoles.