[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
v3.5.13-sru
samelian 14 years ago
parent 9edee94d16
commit 877136ce47

@ -44,23 +44,18 @@ install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karm )
install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karmpart ) install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karmpart )
##### karm (static) ############################# ##### karm (shared) #############################
set( libkarm_SRCS tde_add_library( karm SHARED AUTOMOC
SOURCES
kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp
idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp
ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp
print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui
csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel
taskviewwhatsthis.cpp taskviewwhatsthis.cpp
) VERSION 0.0.0
LINK kcal_resourceremote-shared kdeprint-shared
tde_add_library( karm_pic STATIC_PIC AUTOMOC
SOURCES ${libkarm_SRCS}
)
tde_add_library( karm_nopic STATIC AUTOMOC
SOURCES ${libkarm_SRCS}
) )
@ -68,7 +63,7 @@ tde_add_library( karm_nopic STATIC AUTOMOC
tde_add_kpart( libkarmpart AUTOMOC tde_add_kpart( libkarmpart AUTOMOC
SOURCES karm_part.cpp SOURCES karm_part.cpp
LINK karm_pic-static kcal_resourceremote-shared LINK karm-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )
@ -77,6 +72,6 @@ tde_add_kpart( libkarmpart AUTOMOC
tde_add_executable( karm tde_add_executable( karm
SOURCES main.cpp SOURCES main.cpp
LINK karm_nopic-static kcal_resourceremote-shared kdeprint-shared LINK karm-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )

Loading…
Cancel
Save