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.
b88ce77e4a (gui)
/gui.pro
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
This commit is contained in:
parent
ce198f85fc
commit
87d85cd89e
|
@ -142,9 +142,9 @@ SOURCE_GROUP("Header Files" FILES ${CHECK_HEADERS})
|
||||||
SOURCE_GROUP("Ui Files" ".ui$")
|
SOURCE_GROUP("Ui Files" ".ui$")
|
||||||
SOURCE_GROUP("Moc Files" "moc_.*cxx$")
|
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})
|
${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)
|
ELSE(QT4_FOUND)
|
||||||
message("GUI not built since QT4 not found.")
|
message("GUI not built since QT4 not found.")
|
||||||
|
|
Loading…
Reference in New Issue