3 find_package(KDE4 REQUIRED)
6 include(${QT_USE_FILE})
7 include_directories(${KDE4_INCLUDES}
17 add_subdirectory (songdb)
18 add_subdirectory (bible)
20 set(kworshiparchive_SRCS
21 archive/KwResourceLink.cpp
22 archive/KwResourceManager.cpp
23 archive/KwDataFile.cpp
27 css/KwCssAbstractStyle.cpp
28 css/KwCssAbstractStyleState.cpp
33 css/KwCssStyleStates.cpp
34 css/KwCssStyleRule.cpp
35 css/KwCssStyleSheet.cpp
36 css/KwCssStyleSheetFile.cpp
38 set(kworshipdisplay_SRCS
39 display/KwAbstractDisplay.cpp
40 display/KwLocalDisplayController.cpp
41 display/KwRemoteDisplayController.cpp
42 display/KwLocalDisplay.cpp
43 display/KwLocalDisplayPreview.cpp
44 display/KwRemoteDisplay.cpp
45 display/KwLoggingDisplay.cpp
46 display/KwDisplayMixer.cpp
47 display/KwAbstractLayer.cpp
48 display/KwImageLayer.cpp
49 display/KwVideoLayer.cpp
50 display/KwImageWidget.cpp
51 display/KwTextLayer.cpp
52 display/KwDisplayManager.cpp
53 display/KwAbstractDisplayManager.cpp
54 display/KwBackgroundManager.cpp
55 display/KwTextManager.cpp
56 display/KwOverlayManager.cpp
57 display/KwDisplayStyles.cpp
59 set(kworshipmedia_SRCS
60 media/KwMediaManager.cpp
61 media/KwMediaPreferencesSequence.cpp
62 media/KwMediaPreferencesAudio.cpp
63 media/KwMediaControlWidget.cpp
64 media/KwMediaControlWidgetAudio.cpp
65 media/KwMediaControlWidgetSequence.cpp
66 media/KwMediaControlWidgetVisual.cpp
67 media/KwAbstractMediaPreferences.cpp
68 media/KwMediaPreferencesVisual.cpp
71 set(kworshipplaylist_SRCS
72 playlist/KwPlaylistNode.cpp
73 playlist/KwPlaylistModel.cpp
74 playlist/KwPlaylistFile.cpp
75 playlist/KwPlaylistFileNode.cpp
76 playlist/KwPlaylistImage.cpp
77 playlist/KwPlaylistVideo.cpp
78 playlist/KwPlaylistItem.cpp
79 playlist/KwPlaylistUnknown.cpp
80 playlist/KwPlaylistUnknownNode.cpp
81 playlist/KwPlaylistPaged.cpp
82 playlist/KwPlaylistPagedNode.cpp
83 playlist/KwPlaylistPagedNodePage.cpp
84 playlist/KwPlaylistList.cpp
85 playlist/KwPlaylistListNode.cpp
86 playlist/KwPlaylistNote.cpp
87 playlist/KwPlaylistNoteNode.cpp
88 playlist/KwPlaylistPresentation.cpp
89 playlist/KwPlaylistSong.cpp
90 playlist/KwPlaylistSongNode.cpp
91 playlist/KwPlaylistSongNodeVerse.cpp
92 playlist/KwPlaylistText.cpp
93 playlist/KwPlaylistTextNode.cpp
108 ${kworshiparchive_SRCS}
110 ${kworshipdisplay_SRCS}
111 ${kworshipmedia_SRCS}
112 ${kworshipplaylist_SRCS}
115 kde4_add_ui_files(kworshipmain_SRCS
120 prefsPresentations_base.ui
123 kde4_add_kcfg_files(kworshipmain_SRCS settings.kcfgc )
125 # Shared library with everything in
126 kde4_add_library(kworshipmain SHARED ${kworshipmain_SRCS})
127 target_link_libraries(kworshipmain
140 kde4_add_executable(kworship ${kworship_SRCS})
141 target_link_libraries(kworship kworshipmain)
143 ########### install files ###############
145 install(TARGETS kworshipmain DESTINATION ${LIB_INSTALL_DIR} )
146 install(TARGETS kworship DESTINATION ${BIN_INSTALL_DIR} )
148 install( FILES kworship.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
149 install( FILES kworship.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
150 install( FILES kworshipui.rc DESTINATION ${DATA_INSTALL_DIR}/kworship )
151 install( FILES kworshipplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )