Configuration Method bound to waflib.Configure.ConfigurationContext
Configuration Method bound to waflib.Configure.ConfigurationContext
Configuration Method bound to waflib.Configure.ConfigurationContext
Configuration Method bound to waflib.Configure.ConfigurationContext
Configuration Method bound to waflib.Configure.ConfigurationContext get the compiler version
List of icl platforms
Configuration Method bound to waflib.Configure.ConfigurationContext
Checks installed compilers and targets and returns the first combination from the user’s options, env, or the global supported lists that checks.
Parameters: |
|
---|---|
Returns: | the compiler, revision, path, include dirs, library paths, and (optionally) target architecture |
Return type: | tuple of strings |
Configuration Method bound to waflib.Configure.ConfigurationContext
Gets the compiler environment variables as a tuple. Evaluation is lazy by default, which means destructuring can throw conf.errors.ConfigurationError If --no-msvc-lazy or env.MSVC_LAZY_AUTODETECT are set, then the values are evaluated at once.
Parameters: |
|
---|
Bases: object
A tuple that evaluates its elements from a function when iterated or destructured.
Parameters: |
|
---|
Configuration Method bound to waflib.Configure.ConfigurationContext
Returns: | list of compilers installed |
---|---|
Return type: | list of string |
Configuration Method bound to waflib.Configure.ConfigurationContext
Configuration Method bound to waflib.Configure.ConfigurationContext
Task generator method
Add additional flags implied by msvc, such as subsystems and pdb files:
def build(bld):
bld.stlib(source='main.c', target='bar', subsystem='gruik')
Feature : | fc |
---|
Feature : | fcprogram, fcshlib, fcprogram_test |
---|
Change the command-line execution for msvc programs. Instead of quoting all the paths and keep using the shell, we can just join the options msvc is interested in
Decorator: attach new configuration functions to waflib.Build.BuildContext and waflib.Configure.ConfigurationContext. The methods bound will accept a parameter named ‘mandatory’ to disable the configuration errors:
def configure(conf):
conf.find_program('abc', mandatory=False)
Parameters: | f (function) – method to bind |
---|
Decorator: register a task generator method that will be executed when the object attribute ‘feature’ contains the corresponding key(s):
from waflib.Task import feature
@feature('myfeature')
def myfunction(self):
print('that is my feature!')
def build(bld):
bld(features='myfeature')
Parameters: | k (list of string) – feature names |
---|
Decorator: register a task generator method which will be executed after the functions of given name(s):
from waflib.TaskGen import feature, after
@feature('myfeature')
@after_method('fun2')
def fun1(self):
print('feature 1!')
@feature('myfeature')
def fun2(self):
print('feature 2!')
def build(bld):
bld(features='myfeature')
Parameters: | k (list of string) – method names |
---|
Wrap logging.warn
Manifest file processing and @response file workaround for command-line length limits on Windows systems The indicated task class is replaced by a subclass to prevent conflicts in case the class is wrapped more than once
Wrap logging.debug, the output is filtered for performance reasons
Features defined in this module: