From 87d85cd89e7ea6f38d79ab08b5d8e17269d0fb5c Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Sat, 26 Mar 2011 20:55:08 +0100 Subject: [PATCH] Renaming of the GUI executable to "cppcheck-gui" in a CMake script (bug #2524) The executable file for the graphical user interface was renamed in a CMake script to synchronise this setting with the qmake build specification. https://github.com/danmar/cppcheck/commit/b88ce77e4ac85d1b32981c63cb5c538e9740b6e9#gui/gui.pro Signed-off-by: Markus Elfring --- gui/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 7ac7f541c..67e41e55f 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -142,9 +142,9 @@ SOURCE_GROUP("Header Files" FILES ${CHECK_HEADERS}) SOURCE_GROUP("Ui Files" ".ui$") SOURCE_GROUP("Moc Files" "moc_.*cxx$") -ADD_EXECUTABLE(gui WIN32 ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_HEADERS} +ADD_EXECUTABLE(cppcheck-gui WIN32 ${CHECKGUI_SRCS} ${CHECK_MOC_SRCS} ${CHECK_HEADERS} ${CHECK_UIS_H} ${CHECK_RCC_SRCS} ${CPPCHECK_LIB_SOURCES}) -TARGET_LINK_LIBRARIES(gui ${CHECK_LIBS} ${QT_LIBRARIES}) +TARGET_LINK_LIBRARIES(cppcheck-gui ${CHECK_LIBS} ${QT_LIBRARIES}) ELSE(QT4_FOUND) message("GUI not built since QT4 not found.")