|
def | wtools_load (self, tool_list, *k, **kw) |
|
def | default_configure (cnf, recurse, orig, requires, **kwargs) |
|
def | wtools_showversion (option, opt, value, parser) |
|
def | default_options (opt, recurse, orig_options, requires, **kwargs) |
|
def | default_init (ctx, tooldir) |
|
def | default_build (bld, recurse, top) |
|
def | check_env (self, env, predicate=None) |
|
def | declare_project (name, version, recurse, requires, **kwargs) |
|
Module that provides automatic declaration of a software project.
def wtools.project.declare_project |
( |
|
name, |
|
|
|
version, |
|
|
|
recurse, |
|
|
|
requires, |
|
|
** |
kwargs |
|
) |
| |
Declares a top level waf project
Args:
name: Project name
version: Version string or callable invoked without arguments returning string.
recurse: Glob-patterns of directories to recurse into or callable that returns ditto.
Callable is invoked during option, configuration and build phases and must accept
single context argument.
requires: A string list of project requirements (c.f. wtools.config.Requires) or callable
returning ditto. Callable is invoked during option and configuration phase and must
accept single context argument.
kwargs:
boost_libs: string list of boost libraries to include. E.g. 'program_options filesystem'
qt: dict for Qt specific arguments (was "qt5" that is now deprecated) or callable, that receives
as parameter the configuration context, that has to return a dict containing:
version: integer, major version of Qt version to use (supported 5 or 6)
libs: string or list of Qt libraries to include. E.g. ['Qt5Core', 'Qt5Widgets', 'Qt5UiPlugin']
cxx: dict for C/C++ specific arguments
clang_tidy_config # Path to clang-tidy configuration file
c_std
cxx_std
java: dict for Java specific arguments
checkstyle_config
python: dict for Python specific arguments
pylint_config
pytest_config