From ce198f85fc71b843323cab8907abca658a11514a Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Sat, 26 Mar 2011 13:20:10 +0100 Subject: [PATCH 1/3] Addition of a file name in a CMake script (bug #2524, #1690) A few source files were added because of the feature request "Ability to exclude files and directories from checks". https://github.com/danmar/cppcheck/commit/6401271ceb85ff93a697b2c09fb4765a560fb7a3 A CMake build script was updated for these changes. Signed-off-by: Markus Elfring --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index afbd62e88..f04501720 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -27,6 +27,7 @@ SET(CHECKTEST_SRCS testoptions.cpp testother.cpp testpath.cpp + testpathmatch.cpp testpostfixoperator.cpp testpreprocessor.cpp testrunner.cpp From 87d85cd89e7ea6f38d79ab08b5d8e17269d0fb5c Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Sat, 26 Mar 2011 20:55:08 +0100 Subject: [PATCH 2/3] 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.") From db84b3d0e79791ed89a4e73f7dd458d7a26366c3 Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Sat, 26 Mar 2011 14:20:48 +0100 Subject: [PATCH 3/3] Renaming of the file for the Swedish translation in a CMake script (bug #2524) A translation file was renamed to use the correct ISO-639 name. https://github.com/danmar/cppcheck/commit/03bd4fa463e3e6b6dbcde4261ea6d08d992d6417#gui/gui.pro Signed-off-by: Markus Elfring --- gui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 67e41e55f..799395f12 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -102,8 +102,8 @@ SET(CHECK_TRANS cppcheck_nl.ts cppcheck_pl.ts cppcheck_ru.ts - cppcheck_se.ts cppcheck_sr.ts + cppcheck_sv.ts ) SET(CHECK_RCCS gui.qrc)