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 --- languages/cpp/app_templates/kde4app/CMakeLists.txt | 31 ---------------------- .../app_templates/kde4app/kde4app-CMakeLists.txt | 31 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 31 deletions(-) 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/app_templates/kde4app') 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