Initialize
This commit is contained in:
7
ftxui/cmake/iwyu.cmake
Normal file
7
ftxui/cmake/iwyu.cmake
Normal file
@@ -0,0 +1,7 @@
|
||||
find_program(iwyu_path NAMES include-what-you-use iwyu)
|
||||
if(iwyu_path)
|
||||
set_property(TARGET ${lib}
|
||||
PROPERTY "${iwyu_path}" -Xiwyu
|
||||
--mapping_file "${CMAKE_CURRENT_SOURCE_DIR}/iwyu.imp"
|
||||
)
|
||||
endif()
|
||||
Reference in New Issue
Block a user