Add iwyu, tidy, make, ninja, and mingw keywords to init
This commit is contained in:
parent
b9d605265e
commit
193fe0419a
11
init.py
11
init.py
@ -17,6 +17,17 @@ OPTIONS = {
|
||||
# sanitizer
|
||||
'sanitizer': {'vars': {'SANITIZER': 'ON'}, 'require': {'PROFILE': 'release'}},
|
||||
|
||||
# wrappers
|
||||
'iwyu': { 'vars': { 'CMAKE_CXX_INCLUDE_WHAT_YOU_USE': 'include-what-you-use' } },
|
||||
'tidy': { 'vars': { 'CMAKE_CXX_CLANG_TIDY': ';'.join(['clang-tidy', '--quiet', '-checks=bugprone-*,clang-analyzer-*,performance-*,portability-*,readability-,', '-warnings-as-errors=' ]) } },
|
||||
|
||||
# build tools
|
||||
'make': { 'args': [ '-G', '"Unix Makefiles"' ] },
|
||||
'ninja': { 'args': [ '-G', 'Ninja' ] },
|
||||
|
||||
# platforms
|
||||
'mingw': { 'vars': { 'CMAKE_TOOLCHAIN_FILE': '/home/danny/src/cmakecruft/toolchain/mingw.cmake' }, },
|
||||
|
||||
# Default parameters
|
||||
'': {
|
||||
'vars': {
|
||||
|
Loading…
Reference in New Issue
Block a user