|
|
|
@ -17,7 +17,7 @@ set(settings_SRC
|
|
|
|
|
kpilotConfig.cc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
kde3_add_kcfg_files(settings_SRC kpilotSettings.kcfgc)
|
|
|
|
|
trinity_add_kcfg_files(settings_SRC kpilotSettings.kcfgc)
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
#
|
|
|
|
@ -49,10 +49,10 @@ set(kcmpilot_UIS
|
|
|
|
|
dbSelection_base.ui
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
kde3_add_ui_files(kcmpilot_SRCS ${kcmpilot_UIS})
|
|
|
|
|
kde3_add_kcfg_files(kcmpilot_SRCS ${kcmpilot_KCFGS})
|
|
|
|
|
kde3_add_dcop_stubs(kcmpilot_SRCS pilotDaemonDCOP.h)
|
|
|
|
|
kde3_automoc(${kcmpilot_SRCS})
|
|
|
|
|
trinity_add_ui_files(kcmpilot_SRCS ${kcmpilot_UIS})
|
|
|
|
|
trinity_add_kcfg_files(kcmpilot_SRCS ${kcmpilot_KCFGS})
|
|
|
|
|
trinity_add_dcop_stubs(kcmpilot_SRCS pilotDaemonDCOP.h)
|
|
|
|
|
trinity_automoc(${kcmpilot_SRCS})
|
|
|
|
|
|
|
|
|
|
# Now add these generated files to the ADD_LIBRARY step
|
|
|
|
|
# If this is NOT done, then the ui_*.h files will not be generated
|
|
|
|
@ -75,9 +75,9 @@ set(kpilotTest_SRCS
|
|
|
|
|
main-test.cc
|
|
|
|
|
)
|
|
|
|
|
# Acts as a receiver for DCOP log messages
|
|
|
|
|
kde3_add_dcop_skels(kpilotTest_SRCS loggerDCOP.h)
|
|
|
|
|
trinity_add_dcop_skels(kpilotTest_SRCS loggerDCOP.h)
|
|
|
|
|
|
|
|
|
|
kde3_automoc(${kpilotTest_SRCS})
|
|
|
|
|
trinity_automoc(${kpilotTest_SRCS})
|
|
|
|
|
add_executable(kpilotTest ${kpilotTest_SRCS})
|
|
|
|
|
target_link_libraries(kpilotTest ${QT_LIBRARIES} kpilot kdeui kio)
|
|
|
|
|
kpilot_rpath(kpilotTest)
|
|
|
|
@ -95,9 +95,9 @@ set(kpilotDaemon_SRCS
|
|
|
|
|
pilotDaemon.cc
|
|
|
|
|
)
|
|
|
|
|
# Both sends and receives DCOP log messages. Talks to KPilot.
|
|
|
|
|
kde3_add_dcop_skels(kpilotDaemon_SRCS loggerDCOP.h pilotDaemonDCOP.h)
|
|
|
|
|
kde3_add_dcop_stubs(kpilotDaemon_SRCS loggerDCOP.h kpilotDCOP.h)
|
|
|
|
|
kde3_automoc(${kpilotDaemon_SRCS})
|
|
|
|
|
trinity_add_dcop_skels(kpilotDaemon_SRCS loggerDCOP.h pilotDaemonDCOP.h)
|
|
|
|
|
trinity_add_dcop_stubs(kpilotDaemon_SRCS loggerDCOP.h kpilotDCOP.h)
|
|
|
|
|
trinity_automoc(${kpilotDaemon_SRCS})
|
|
|
|
|
add_executable(kpilotDaemon ${kpilotDaemon_SRCS})
|
|
|
|
|
target_link_libraries(kpilotDaemon ${QT_LIBRARIES} kpilot kdeui kio)
|
|
|
|
|
kpilot_rpath(kpilotDaemon)
|
|
|
|
@ -131,11 +131,11 @@ set(kpilot_UIS
|
|
|
|
|
todoEditor_base.ui
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
kde3_add_ui_files(kpilot_SRCS ${kpilot_UIS})
|
|
|
|
|
trinity_add_ui_files(kpilot_SRCS ${kpilot_UIS})
|
|
|
|
|
# Talks to the daemon. Listens as itself.
|
|
|
|
|
kde3_add_dcop_skels(kpilot_SRCS loggerDCOP.h kpilotDCOP.h)
|
|
|
|
|
kde3_add_dcop_stubs(kpilot_SRCS pilotDaemonDCOP.h)
|
|
|
|
|
kde3_automoc(${kpilot_SRCS})
|
|
|
|
|
trinity_add_dcop_skels(kpilot_SRCS loggerDCOP.h kpilotDCOP.h)
|
|
|
|
|
trinity_add_dcop_stubs(kpilot_SRCS pilotDaemonDCOP.h)
|
|
|
|
|
trinity_automoc(${kpilot_SRCS})
|
|
|
|
|
add_executable(kpilot_bin ${kpilot_SRCS})
|
|
|
|
|
target_link_libraries(kpilot_bin ${QT_LIBRARIES} kpilot kutils kdeui kio)
|
|
|
|
|
kpilot_rpath(kpilot_bin)
|
|
|
|
@ -145,7 +145,7 @@ set_target_properties(kpilot_bin PROPERTIES
|
|
|
|
|
|
|
|
|
|
######################### INSTALL STUFF #######################################
|
|
|
|
|
|
|
|
|
|
kde3_install_libtool_file(kcm_kpilot)
|
|
|
|
|
trinity_install_libtool_file(kcm_kpilot)
|
|
|
|
|
|
|
|
|
|
install(
|
|
|
|
|
TARGETS kcm_kpilot kpilot_bin kpilotDaemon
|
|
|
|
|