From 5e2135048c5de59f5351380653961b9a1e260d84 Mon Sep 17 00:00:00 2001 From: samelian Date: Sat, 22 Jan 2011 16:43:44 +0000 Subject: [kdevelop] rename CMakeLists.txt to avoid conflicts with cmake build system git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216313 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../cpp/app_templates/cmakelibc/CMakeLists.txt | 7 ----- .../cmakelibc/cmakelibc-CMakeLists.txt | 7 +++++ .../cpp/app_templates/cmakelibcpp/CMakeLists.txt | 8 ------ .../cmakelibcpp/cmakelibcpp-CMakeLists.txt | 8 ++++++ .../cpp/app_templates/cmakesimplec/CMakeLists.txt | 14 ---------- .../cmakesimplec/cmakesimplec-CMakeLists.txt | 14 ++++++++++ languages/cpp/app_templates/kde4app/CMakeLists.txt | 31 ---------------------- .../app_templates/kde4app/kde4app-CMakeLists.txt | 31 ++++++++++++++++++++++ 8 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 languages/cpp/app_templates/cmakelibc/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakelibc/cmakelibc-CMakeLists.txt delete mode 100644 languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakelibcpp/cmakelibcpp-CMakeLists.txt delete mode 100644 languages/cpp/app_templates/cmakesimplec/CMakeLists.txt create mode 100644 languages/cpp/app_templates/cmakesimplec/cmakesimplec-CMakeLists.txt delete mode 100644 languages/cpp/app_templates/kde4app/CMakeLists.txt create mode 100644 languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt (limited to 'languages/cpp') diff --git a/languages/cpp/app_templates/cmakelibc/CMakeLists.txt b/languages/cpp/app_templates/cmakelibc/CMakeLists.txt deleted file mode 100644 index fad51df5..00000000 --- a/languages/cpp/app_templates/cmakelibc/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -PROJECT(%{APPNAMELC}) - -#if you don't want the full compiler output, remove the following line -SET(CMAKE_VERBOSE_MAKEFILE ON) - -SUBDIRS(src) - diff --git a/languages/cpp/app_templates/cmakelibc/cmakelibc-CMakeLists.txt b/languages/cpp/app_templates/cmakelibc/cmakelibc-CMakeLists.txt new file mode 100644 index 00000000..fad51df5 --- /dev/null +++ b/languages/cpp/app_templates/cmakelibc/cmakelibc-CMakeLists.txt @@ -0,0 +1,7 @@ +PROJECT(%{APPNAMELC}) + +#if you don't want the full compiler output, remove the following line +SET(CMAKE_VERBOSE_MAKEFILE ON) + +SUBDIRS(src) + diff --git a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt b/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt deleted file mode 100644 index 8f172103..00000000 --- a/languages/cpp/app_templates/cmakelibcpp/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ - -PROJECT(%{APPNAMELC}) - -#if you don't want the full compiler output, remove the following line - -SET(CMAKE_VERBOSE_MAKEFILE ON) - -SUBDIRS(src) diff --git a/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp-CMakeLists.txt b/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp-CMakeLists.txt new file mode 100644 index 00000000..8f172103 --- /dev/null +++ b/languages/cpp/app_templates/cmakelibcpp/cmakelibcpp-CMakeLists.txt @@ -0,0 +1,8 @@ + +PROJECT(%{APPNAMELC}) + +#if you don't want the full compiler output, remove the following line + +SET(CMAKE_VERBOSE_MAKEFILE ON) + +SUBDIRS(src) diff --git a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt b/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt deleted file mode 100644 index 812fc007..00000000 --- a/languages/cpp/app_templates/cmakesimplec/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -PROJECT(%{APPNAMELC}) - -#if you don't want the full compiler output, remove the following line -SET(CMAKE_VERBOSE_MAKEFILE ON) - -#add definitions, compiler switches, etc. -ADD_DEFINITIONS(-Wall -O2) - -#list all source files here -ADD_EXECUTABLE(%{APPNAMELC} main.c) - -#need to link to some other libraries ? just add them here -#TARGET_LINK_LIBRARIES(%{APPNAMELC} png jpeg) - diff --git a/languages/cpp/app_templates/cmakesimplec/cmakesimplec-CMakeLists.txt b/languages/cpp/app_templates/cmakesimplec/cmakesimplec-CMakeLists.txt new file mode 100644 index 00000000..812fc007 --- /dev/null +++ b/languages/cpp/app_templates/cmakesimplec/cmakesimplec-CMakeLists.txt @@ -0,0 +1,14 @@ +PROJECT(%{APPNAMELC}) + +#if you don't want the full compiler output, remove the following line +SET(CMAKE_VERBOSE_MAKEFILE ON) + +#add definitions, compiler switches, etc. +ADD_DEFINITIONS(-Wall -O2) + +#list all source files here +ADD_EXECUTABLE(%{APPNAMELC} main.c) + +#need to link to some other libraries ? just add them here +#TARGET_LINK_LIBRARIES(%{APPNAMELC} png jpeg) + diff --git a/languages/cpp/app_templates/kde4app/CMakeLists.txt b/languages/cpp/app_templates/kde4app/CMakeLists.txt deleted file mode 100644 index 2544a271..00000000 --- a/languages/cpp/app_templates/kde4app/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -project(%{APPNAME}) -find_package(KDE4 REQUIRED) -include (KDE4Defaults) -include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} ) - -set(%{APPNAMELC}_SRCS - %{APPNAMELC}.cpp - main.cpp - %{APPNAMELC}view.cpp - ) - -#kde4_automoc(${%{APPNAMELC}_SRCS}) - -kde4_add_ui_files(%{APPNAMELC}_SRCS %{APPNAMELC}view_base.ui prefs_base.ui) - -kde4_add_kcfg_files(%{APPNAMELC}_SRCS settings.kcfgc ) - -kde4_add_executable(%{APPNAMELC} ${%{APPNAMELC}_SRCS}) - -target_link_libraries(%{APPNAMELC} ${KDE4_KDEUI_LIBS} ) - -install(TARGETS %{APPNAMELC} DESTINATION ${BIN_INSTALL_DIR} ) - - -########### install files ############### - -install( FILES %{APPNAMELC}.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -install( FILES %{APPNAMELC}.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) -install( FILES %{APPNAMELC}ui.rc DESTINATION ${DATA_INSTALL_DIR}/%{APPNAMELC} ) - - diff --git a/languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt b/languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt new file mode 100644 index 00000000..2544a271 --- /dev/null +++ b/languages/cpp/app_templates/kde4app/kde4app-CMakeLists.txt @@ -0,0 +1,31 @@ +project(%{APPNAME}) +find_package(KDE4 REQUIRED) +include (KDE4Defaults) +include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} ) + +set(%{APPNAMELC}_SRCS + %{APPNAMELC}.cpp + main.cpp + %{APPNAMELC}view.cpp + ) + +#kde4_automoc(${%{APPNAMELC}_SRCS}) + +kde4_add_ui_files(%{APPNAMELC}_SRCS %{APPNAMELC}view_base.ui prefs_base.ui) + +kde4_add_kcfg_files(%{APPNAMELC}_SRCS settings.kcfgc ) + +kde4_add_executable(%{APPNAMELC} ${%{APPNAMELC}_SRCS}) + +target_link_libraries(%{APPNAMELC} ${KDE4_KDEUI_LIBS} ) + +install(TARGETS %{APPNAMELC} DESTINATION ${BIN_INSTALL_DIR} ) + + +########### install files ############### + +install( FILES %{APPNAMELC}.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES %{APPNAMELC}.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) +install( FILES %{APPNAMELC}ui.rc DESTINATION ${DATA_INSTALL_DIR}/%{APPNAMELC} ) + + -- cgit v1.2.1