The ar program creates static libraries. This tool is almost always loaded from others (C, C++, D, etc) for static library support.
Configuration Method bound to waflib.Configure.ConfigurationContext Configuration helper used by C/C++ tools to enable the support for static libraries
Find the ar program and set the default flags in conf.env.ARFLAGS
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 |
---|