From 877136ce4782506f9cff99166bb4fc27a17decde Mon Sep 17 00:00:00 2001 From: samelian Date: Mon, 28 Mar 2011 09:31:39 +0000 Subject: [kdelibs/karm] convert static lib to shared git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1226268 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- karm/CMakeLists.txt | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/karm/CMakeLists.txt b/karm/CMakeLists.txt index 4fb6be5a2..e5e4bec19 100644 --- a/karm/CMakeLists.txt +++ b/karm/CMakeLists.txt @@ -44,23 +44,18 @@ install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karm ) install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karmpart ) -##### karm (static) ############################# - -set( libkarm_SRCS - kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp - idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp - ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp - print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui - csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel - taskviewwhatsthis.cpp -) - -tde_add_library( karm_pic STATIC_PIC AUTOMOC - SOURCES ${libkarm_SRCS} -) - -tde_add_library( karm_nopic STATIC AUTOMOC - SOURCES ${libkarm_SRCS} +##### karm (shared) ############################# + +tde_add_library( karm SHARED AUTOMOC + SOURCES + kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp + idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp + ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp + print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui + csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel + taskviewwhatsthis.cpp + VERSION 0.0.0 + LINK kcal_resourceremote-shared kdeprint-shared ) @@ -68,7 +63,7 @@ tde_add_library( karm_nopic STATIC AUTOMOC tde_add_kpart( libkarmpart AUTOMOC SOURCES karm_part.cpp - LINK karm_pic-static kcal_resourceremote-shared + LINK karm-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) @@ -77,6 +72,6 @@ tde_add_kpart( libkarmpart AUTOMOC tde_add_executable( karm SOURCES main.cpp - LINK karm_nopic-static kcal_resourceremote-shared kdeprint-shared + LINK karm-shared DESTINATION ${BIN_INSTALL_DIR} ) -- cgit v1.2.1