have clang-style output for easier parsing in compilation mode in emacs

This commit is contained in:
Axel Kohlmeyer 2020-09-02 21:43:20 -04:00
parent 79584c842d
commit 4ba6a4f958
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ if(ENABLE_IWYU)
if (IWYU_EXE AND IWYU_TOOL)
add_custom_target(
iwyu
${IWYU_TOOL} -p ${CMAKE_BINARY_DIR}
${IWYU_TOOL} -o clang -p ${CMAKE_BINARY_DIR}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMENT "Running IWYU")
add_dependencies(iwyu lammps)