How to set a CMake option() at command line
Using clang-tidy with CMake 3.6
把 compile_command.json 導出。
https://github.com/llvm-mirror/clang-tools-extra/blob/master/clang-tidy/tool/clang-tidy-diff.py
$
git diff
|
clang-tidy-diff.py
-p1
-fix
-check
=
*
Clang-Tidy, part 1: Modernize your source code using C++11/C++14
外部連結
CMake
CMake 入門