wtools  3.2.0-pre1
ESO waf tools
All Classes Namespaces Functions Pages
wtools.config.cxx Class Reference

Static Public Member Functions

def configure_postload (cnf, requires, **kwargs)
 
def configure_preload (cnf, requires, **kwargs)
 
def options (opt, **kwargs)
 

Static Public Attributes

list requires = []
 
list tools = ["cxx", "compiler_c", "compiler_cxx", "buildcopy", "clangdb"]
 
 defaults
 
 c_defaults
 

Detailed Description

Provides C/C++ support including
- Clang Tidy (linting)

Options:
    cxx=dict(
        cxx_std=std               # C++ standard in use (default c++17)
        clang_tidy_config=path    # Path to clang-tidy configuration file
        gcovr_no_generated=False  # Include generated code in gcovr reports
        gcovr_html_medium=XX      # Set threshold for medium coverage for gcovr reports
        gcovr_html_high=XX        # Set threshold for high coverage for gcovr reports
    )
    c=dict(
        c_std=std                 # C standard in use (default c17)
    )

Member Data Documentation

◆ c_defaults

wtools.config.cxx.c_defaults
static
Initial value:
= dict(
c_std="c17",
)

◆ defaults

wtools.config.cxx.defaults
static
Initial value:
= dict(
clang_tidy_config=os.path.join(
os.path.dirname(__file__), "tools/resources/eso_clang-tidy.yml"
),
cxx_std="c++17",
gcovr_no_generated=False,
gcovr_html_medium="70",
gcovr_html_high="90",
)

The documentation for this class was generated from the following file: