clang¶
Detect the Clang C compiler
-
waflib.Tools.clang.
find_clang
(conf)[source]¶ Configuration Method bound to
waflib.Configure.ConfigurationContext
Finds the program clang and executes it to ensure it really is clang
-
waflib.Tools.clang.
conf
(f)¶ Decorator: attach new configuration functions to
waflib.Build.BuildContext
andwaflib.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