[CMake] additional arguments with CMAKE_CXX_CLANG_TIDY variable
Bill Hoffman
bill.hoffman at kitware.com
Tue Nov 8 13:06:00 EST 2016
On 11/8/2016 11:20 AM, Michael Ellery wrote:
> /usr/local/Cellar/cmake/3.6.2/bin/cmake -E __run_iwyu
> --tidy="/usr/local/opt/llvm38/bin/clang-tidy-3.8;-checks=*"
> --source=/Users/ellery/work/.....
That should still work. It is passing that to -E __run_iwyu which
should expand the arguments.
https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmcmd.cxx#L353
cmSystemTools::ExpandListArgument will separate out the arguments. My
guess is the * might be causing the trouble somehow.
-Bill
More information about the CMake
mailing list