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

Static Public Member Functions

def configure_postload
 
def configure_preload
 
def options
 

Static Public Attributes

list requires = []
 
list tools = ['cxx', 'compiler_c', 'compiler_cxx', 'buildcopy', 'clangdb']
 
tuple defaults
 

Detailed Description

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

Options:
    cxx_std=std (=c++11)  Changes the default C++ standard in use.
    cxx_cstd=std (=c11)  Changes the default C standard in use.
    cxx=dict(
        clang_tidy_header_filter=regex # Regular expression matching the names of the headers
        clang_tidy_line_filter=json # JSON list of files with line ranges to filter the warnings
        clang_tidy_config=path  # Path to clang-tidy configuration file
    )

Member Data Documentation

tuple wtools.config.cxx.defaults
static
Initial value:
1 = dict(
2  clang_tidy_header_filter='^\.\..*',
3  clang_tidy_line_filter='',
4  clang_tidy_config=os.path.join(os.path.dirname(__file__), 'tools/resources/eso_clang-tidy.yml'),
5  c_std='c11',
6  cxx_std='c++11'
7  )

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