mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
QtDialog: block include-what-you-use
This commit is contained in:
@@ -160,6 +160,12 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||||||
add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS} ${MANIFEST_FILE})
|
add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS} ${MANIFEST_FILE})
|
||||||
target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${CMake_QT_LIBRARIES})
|
target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${CMake_QT_LIBRARIES})
|
||||||
|
|
||||||
|
# cmake-gui has not been updated for `include-what-you-use`.
|
||||||
|
# Block the tool until this is done.
|
||||||
|
set_target_properties(cmake-gui PROPERTIES
|
||||||
|
CXX_INCLUDE_WHAT_YOU_USE ""
|
||||||
|
)
|
||||||
|
|
||||||
# Files generated by MOC, RCC, and UIC may produce clang-tidy warnings.
|
# Files generated by MOC, RCC, and UIC may produce clang-tidy warnings.
|
||||||
# We generate a dummy .clang-tidy file in the binary directory that disables
|
# We generate a dummy .clang-tidy file in the binary directory that disables
|
||||||
# all clang-tidy checks except one that will never match. This one check is
|
# all clang-tidy checks except one that will never match. This one check is
|
||||||
|
|||||||
Reference in New Issue
Block a user