Home | Trees | Indices | Help |
|
---|
|
object --+ | env_t
The is the environment for compilation. The environment includes a dictionary for holding everything custom about this environment. The default environment includes:
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
plan_t |
|
||
|
|||
string or list of strings |
|
||
plan_t |
|
||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
plan_t |
|
||
string |
|
||
plan_t |
|
||
|
|||
|
|||
|
|||
string |
|
||
string |
|
||
plan_t |
|
||
|
|||
|
|||
string |
|
||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
string |
|
||
|
|||
|
|||
|
|||
string or list of strings |
|
||
plan_t |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
string |
|
||
bool |
|
||
Inherited from |
Class Variables | |
assignment_pattern = re.compile(r'
|
|
mbuild_subs_pattern = re.compile(r'%\(
|
|
obj_pattern = re.compile(r'.obj$')
|
|
objext_pattern = re.compile(r'%\(OBJEXT\)s$')
|
|
supplement_pattern = re.compile(r'
|
Properties | |
Inherited from |
Method Details |
Read the environment dictionary. Not doing any substitutions. |
Build up the environment for compilation.
|
Print out the environment
|
Add a define or list defines to the ASFLAGS
|
Add a define or list defines to the CCFLAGS
|
Add a define or list defines to the CXXFLAGS
|
Add a define or list defines to the CXXFLAGS and CCFLAGS
|
Add a directory or list of directories to the CPPPATH. Just a short cut for adding things to the list of files in the env['CPPPATH']
|
Add a directory or list of directories to the LINKPATH. These get included in the LINKFLAGS
|
Add a directory or list of directories to the SYSTEMINCLUDE. Just a short cut for adding things to the list of files in the env['SYSTEMINCLUDE']
|
Add or append value to the environment variable var. If the variable is not in the environment, then it is added as is. Otherwise if the variable is in the environment and is a list then value is appended. Otherwise, the value is appended as a string with a leading space. This will *NOT* do variable substitution when adding to a variable.
|
Indirection function. Reads builder function from the environment variable ASSEMBLER_BUILDER. Assemble a source file to the obj file. If no obj file name is given one will be created in the build directory.
|
Make the file (or list of files) with the build directory name.
|
Indirection function. Reads builder function from the environment variable CC_COMPILE_BUILDER. C-compile a source file to a file named obj. If no obj file name is given one will be created in the build directory.
|
|
Build all the sources by adding them to the dag. Use the suffixes to figure out how to handle the files. The dag can be passed to a work queue. See the build function. |
Build all the sources by adding them to the dag. Use the suffixes to figure out how to handle the files. The dag can be passed to a work queue. See the build function. |
Build all the sources by adding them to the dag. Use the suffixes to figure out how to handle the files. The dag can be passed to a work queue. See the build function. |
Update the environment dictionary with elements of kwds from the dictionary in the incoming_env. Lists are extended with the incoming elements and other types of elements are assigned directly.
|
Indirection function. Reads builder function from the environment variable CXX_COMPILE_BUILDER. C++-compile a source file to a file called obj. If no obj file name is given one will be created in the build directory.
|
Default to ms on windows and gnu everywhere else.
|
Indirection function. Reads builder function from the environment variable DYNAMIC_LIBRARY_BUILDER. Make a dynamic library libname from objs. If relocate is True, then prefix libname with the build directory name
|
Read the the value of k from the environment dictionary, doing recursive substitutions from the environment. If no environment is supplied, then the default environment is used.
|
Read the environment dictionary, doing recursive substitutions from the environment. If no environment is supplied, then the default environment is used.
|
Indirection function. Reads builder function from the environment variable LINK_BUILDER. Link an executable from objs. If relocate is True, then prefix exename with the build directory name.
|
Put together any derived flags. This is required to be called by builder functions before they do their expansion. |
Take file or list of files and return a file or list of files with the OBJEXT extension from the environment.
|
|
|
|
|
|
|
|
|
|
|
Call this to re-initialize the environment from the command line arguments. This calls update() with the results of command line processing.
|
Indirection function. For making RES files from RC files on windows.
|
Remove a substring (or list entry) from env[var]. Opposite of add_to_var().
|
Replace the suffix of single fn (or list of files) with newext. newext should supply its own dot if you want one.
|
Initialize the build environment based on the compiler environment variable setting. Adds in the "extra" flags from the environment.
|
Take the dictionary of defaults and apply to the environment. Any extra bindings and targets should be listed in the 'args' list option of the dictionary |
Prefix file (or list of files) with the src directory name.
|
Indirection function. Reads builder function from the environment variable STATIC_LIBRARY_BUILDER. Make a static library libname from objs. If relocate is True, then prefix libname with the build directory name
|
Return True if system supports AVX1. Does not work on windows |
Emit the version string.
|
|
Class Variable Details |
assignment_pattern
|
supplement_pattern
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 15 13:53:07 2016 | http://epydoc.sourceforge.net |