Constants

Setup strings

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

__numversion__

makeprojects.__numversion__ = (0, 12, 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.

_XCODEPROJ_MATCH

makeprojects._XCODEPROJ_MATCH

Match *.xcodeproj.

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

buildme.BUILD_LIST

makeprojects.buildme.BUILD_LIST = ((1, 'prebuild'),(40, 'build'),(99, 'postbuild'))

Default build_rules.py command list, priority / entrypoint.

buildme.CODEWARRIOR_ERRORS

makeprojects.buildme.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','buildwas cancelled','buildfailed','process aborted','error importing project','error executing debug script','attempted use of /d together with /b and/or /r')

Error code messages from Codewarrior.

buildme._CW_SUPPORTED_LINKERS

makeprojects.buildme._CW_SUPPORTED_LINKERS

List of supported Codewarrior Linkers.

buildme._VS_VERSION_YEARS

makeprojects.buildme._VS_VERSION_YEARS

Lookup for Visual Studio year in SLN file.

buildme._VS_OLD_VERSION_YEARS

makeprojects.buildme._VS_OLD_VERSION_YEARS

Lookup for Visual Studio year in SLN file pre-2012.

buildme._VS_SDK_ENV_VARIABLE

makeprojects.buildme._VS_SDK_ENV_VARIABLE

Lookup for Visual Studio SDK detector.