diff --git a/init.py b/init.py index 31b9f9a..f2fa390 100755 --- a/init.py +++ b/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': {