Add include_what_you_use to the cmake files

This commit is contained in:
Sameer Rahmani 2021-10-16 16:16:18 +01:00
parent e5c5a68128
commit 4b03316d81
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set(SRC_DIR ${CMAKE_SOURCE_DIR}/src)
set(CMAKE_CXX_CLANG_TIDY clang-tidy)
set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE include-what-you-use)
# Let's ensure -std=c++xx instead of -std=g++xx
set(CMAKE_CXX_EXTENSIONS OFF)