summaryrefslogtreecommitdiffstats
path: root/karm
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-28 09:31:39 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-28 09:31:39 +0000
commit877136ce4782506f9cff99166bb4fc27a17decde (patch)
treef9bc031df71c2f6e30e19fe31ab0e46dbbdf7475 /karm
parent9edee94d160ac1050dc0252d2881c1f9b64d7325 (diff)
downloadtdepim-877136ce4782506f9cff99166bb4fc27a17decde.tar.gz
tdepim-877136ce4782506f9cff99166bb4fc27a17decde.zip
[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
Diffstat (limited to 'karm')
-rw-r--r--karm/CMakeLists.txt33
1 files 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}
)