summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-08 14:03:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-08 14:03:15 (GMT)
commit22d0a83a4cc2188119e008ed346a10f7b0b32f8e (patch)
treef5349a0869c9b7b1a77db33d878ce47769d0c2d0 /Source/QtDialog
parent141b8ccf2cddc6b5d3c3c7258cefb181c09e5ce9 (diff)
parent50dd15af58aa9fd69549f769916955b46fdad4eb (diff)
downloadCMake-22d0a83a4cc2188119e008ed346a10f7b0b32f8e.zip
CMake-22d0a83a4cc2188119e008ed346a10f7b0b32f8e.tar.gz
CMake-22d0a83a4cc2188119e008ed346a10f7b0b32f8e.tar.bz2
Merge topic 'c++11-iwyu'
50dd15af QtDialog: block include-what-you-use f3e21613 cmServer: include what you use 9535823b IWYU: map system symbols to libuv 6a91ee02 IWYU: add mapping for cm::auto_ptr 7165065f cmInstalledFile: add cmConfigure.h as first #include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !811
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index 8619fe9..9e9df78 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -160,6 +160,12 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS} ${MANIFEST_FILE})
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.
# 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