diff --git a/app/plasma/applet/CMakeLists.txt b/app/plasma/applet/CMakeLists.txt --- a/app/plasma/applet/CMakeLists.txt +++ b/app/plasma/applet/CMakeLists.txt @@ -1,5 +1,3 @@ -project(kdevelopsessions) - install(DIRECTORY package/ DESTINATION ${KDE_INSTALL_DATADIR}/plasma/plasmoids/kdevelopsessions) diff --git a/debuggers/gdb/CMakeLists.txt b/debuggers/gdb/CMakeLists.txt --- a/debuggers/gdb/CMakeLists.txt +++ b/debuggers/gdb/CMakeLists.txt @@ -1,5 +1,3 @@ -project(gdb) - find_package(OktetaGui CONFIG) set_package_properties(OktetaGui PROPERTIES PURPOSE "Required for building MemoryViewer Widget." diff --git a/debuggers/lldb/CMakeLists.txt b/debuggers/lldb/CMakeLists.txt --- a/debuggers/lldb/CMakeLists.txt +++ b/debuggers/lldb/CMakeLists.txt @@ -1,4 +1,3 @@ -project(lldb) add_definitions(-DTRANSLATION_DOMAIN=\"kdevlldb\") set(kdevlldb_SRCS diff --git a/kdevplatform/CMakeLists.txt b/kdevplatform/CMakeLists.txt --- a/kdevplatform/CMakeLists.txt +++ b/kdevplatform/CMakeLists.txt @@ -1,6 +1,3 @@ -cmake_minimum_required(VERSION 3.0) -project(KDevPlatform) - # kdevplatform version set(KDEVPLATFORM_VERSION_MAJOR 5) set(KDEVPLATFORM_VERSION_MINOR 1) diff --git a/kdevplatform/plugins/bazaar/CMakeLists.txt b/kdevplatform/plugins/bazaar/CMakeLists.txt --- a/kdevplatform/plugins/bazaar/CMakeLists.txt +++ b/kdevplatform/plugins/bazaar/CMakeLists.txt @@ -1,5 +1,3 @@ -project(bazaar) - set(kdevbazaar_SRCS diffjob.cpp bzrannotatejob.cpp diff --git a/kdevplatform/plugins/codeutils/CMakeLists.txt b/kdevplatform/plugins/codeutils/CMakeLists.txt --- a/kdevplatform/plugins/codeutils/CMakeLists.txt +++ b/kdevplatform/plugins/codeutils/CMakeLists.txt @@ -1,5 +1,4 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kdevcodeutils\") -project(codeutils) ########### install target ############### diff --git a/kdevplatform/plugins/documentswitcher/CMakeLists.txt b/kdevplatform/plugins/documentswitcher/CMakeLists.txt --- a/kdevplatform/plugins/documentswitcher/CMakeLists.txt +++ b/kdevplatform/plugins/documentswitcher/CMakeLists.txt @@ -1,5 +1,4 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kdevdocumentswitcher\") -project(documentswitcher) ########### next target ############### diff --git a/kdevplatform/plugins/documentview/CMakeLists.txt b/kdevplatform/plugins/documentview/CMakeLists.txt --- a/kdevplatform/plugins/documentview/CMakeLists.txt +++ b/kdevplatform/plugins/documentview/CMakeLists.txt @@ -1,5 +1,4 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kdevdocumentview\") -project(documentview) #add_subdirectory(settings) ########### next target ############### diff --git a/kdevplatform/plugins/grepview/CMakeLists.txt b/kdevplatform/plugins/grepview/CMakeLists.txt --- a/kdevplatform/plugins/grepview/CMakeLists.txt +++ b/kdevplatform/plugins/grepview/CMakeLists.txt @@ -1,5 +1,4 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kdevgrepview\") -project(grepview) ########### next target ############### diff --git a/kdevplatform/plugins/perforce/p4clientstub/CMakeLists.txt b/kdevplatform/plugins/perforce/p4clientstub/CMakeLists.txt --- a/kdevplatform/plugins/perforce/p4clientstub/CMakeLists.txt +++ b/kdevplatform/plugins/perforce/p4clientstub/CMakeLists.txt @@ -1,5 +1,3 @@ -project(p4clientstub) - set(p4clientstub_SRCS main.cpp ) add_executable(p4clientstub ${p4clientstub_SRCS} ) diff --git a/kdevplatform/plugins/switchtobuddy/CMakeLists.txt b/kdevplatform/plugins/switchtobuddy/CMakeLists.txt --- a/kdevplatform/plugins/switchtobuddy/CMakeLists.txt +++ b/kdevplatform/plugins/switchtobuddy/CMakeLists.txt @@ -1,5 +1,4 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kdevswitchtobuddy\") -project(codeutils) ########### install target ############### diff --git a/kdevplatform/plugins/welcomepage/declarative/CMakeLists.txt b/kdevplatform/plugins/welcomepage/declarative/CMakeLists.txt --- a/kdevplatform/plugins/welcomepage/declarative/CMakeLists.txt +++ b/kdevplatform/plugins/welcomepage/declarative/CMakeLists.txt @@ -1,5 +1,3 @@ -project(kdevelop-declarative) - include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ) add_library(kdevelopdashboarddeclarativeplugin SHARED kdevelopdashboarddeclarativeplugin.cpp icoreobject.cpp) diff --git a/projectbuilders/makebuilder/CMakeLists.txt b/projectbuilders/makebuilder/CMakeLists.txt --- a/projectbuilders/makebuilder/CMakeLists.txt +++ b/projectbuilders/makebuilder/CMakeLists.txt @@ -1,4 +1,3 @@ -project(makebuilder) add_definitions(-DTRANSLATION_DOMAIN=\"kdevmakebuilder\") ########### next target ############### diff --git a/projectmanagers/cmake/CMakeLists.txt b/projectmanagers/cmake/CMakeLists.txt --- a/projectmanagers/cmake/CMakeLists.txt +++ b/projectmanagers/cmake/CMakeLists.txt @@ -1,4 +1,3 @@ -project(cmakemanager) add_definitions(-DTRANSLATION_DOMAIN=\"kdevcmake\") include_directories(${CMAKE_CURRENT_SOURCE_DIR}/parser) diff --git a/projectmanagers/custom-buildsystem/CMakeLists.txt b/projectmanagers/custom-buildsystem/CMakeLists.txt --- a/projectmanagers/custom-buildsystem/CMakeLists.txt +++ b/projectmanagers/custom-buildsystem/CMakeLists.txt @@ -1,4 +1,3 @@ -project(kdevelop4-custom-buildsystem) add_definitions(-DTRANSLATION_DOMAIN=\"kdevcustombuildsystem\") ecm_qt_declare_logging_category(custom_LOG_SRCS diff --git a/providers/ghprovider/CMakeLists.txt b/providers/ghprovider/CMakeLists.txt --- a/providers/ghprovider/CMakeLists.txt +++ b/providers/ghprovider/CMakeLists.txt @@ -1,4 +1,3 @@ -project(ghprovider) add_definitions(-DTRANSLATION_DOMAIN=\"kdevghprovider\") set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) diff --git a/utils/okteta/CMakeLists.txt b/utils/okteta/CMakeLists.txt --- a/utils/okteta/CMakeLists.txt +++ b/utils/okteta/CMakeLists.txt @@ -1,4 +1,3 @@ -project( okteta ) add_definitions(-DTRANSLATION_DOMAIN=\"kdevokteta\") SET( kdevokteta_PART_SRCS