delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / khelpcenter / CMakeLists.txt
bloba5c468e6e1c4d1c30bee139c43436714c733abbb
1 add_subdirectory( plugins )
2 add_subdirectory( searchhandlers )
3 add_subdirectory( tests )
5 add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
7 ########### next target ###############
9 set(khc_indexbuilder_SRCS khc_indexbuilder.cpp )
12 kde4_add_executable(khc_indexbuilder NOGUI ${khc_indexbuilder_SRCS})
14 target_link_libraries(khc_indexbuilder  ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KDECORE_LIBS} )
16 install(TARGETS khc_indexbuilder DESTINATION ${LIBEXEC_INSTALL_DIR})
19 ########### next target ###############
21 set(khelpcenter_KDEINIT_SRCS 
22    navigator.cpp 
23    navigatoritem.cpp 
24    navigatorappitem.cpp 
25    view.cpp 
26    searchwidget.cpp 
27    searchengine.cpp 
28    docmetainfo.cpp 
29    docentrytraverser.cpp 
30    formatter.cpp 
31    glossary.cpp 
32    toc.cpp 
33    mainwindow.cpp 
34    docentry.cpp 
35    htmlsearch.cpp 
36    history.cpp 
37    application.cpp 
38    treebuilder.cpp 
39    infotree.cpp 
40    kcmhelpcenter.cpp 
41    htmlsearchconfig.cpp 
42    fontdialog.cpp 
43    plugintraverser.cpp 
44    scrollkeepertreebuilder.cpp 
45    searchhandler.cpp )
47 qt4_add_dbus_adaptor( khelpcenter_KDEINIT_SRCS org.kde.khelpcenter.kcmhelpcenter.xml kcmhelpcenter.h KCMHelpCenter )
49 kde4_add_kcfg_files(khelpcenter_KDEINIT_SRCS prefs.kcfgc )
50 kde4_add_app_icon(khelpcenter_KDEINIT_SRCS "${CMAKE_SOURCE_DIR}/pics/oxygen/*/apps/help-browser.png")
52 kde4_add_kdeinit_executable( khelpcenter ${khelpcenter_KDEINIT_SRCS})
53 target_link_libraries(kdeinit_khelpcenter  ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KHTML_LIBS}  ${QT_QTXML_LIBRARY} ${KDE4_KUTILS_LIBS} )
54 install(TARGETS kdeinit_khelpcenter  ${INSTALL_TARGETS_DEFAULT_ARGS} )
55 install(TARGETS khelpcenter ${INSTALL_TARGETS_DEFAULT_ARGS})
57 ########### install files ###############
59 install( FILES Help.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )
60 install( FILES khelpcenter.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
61 install( FILES khelpcenter.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
62 install( FILES khelpcenterui.rc glossary.html.in table-of-contents.xslt         glossary.xslt index.html.in  DESTINATION  ${DATA_INSTALL_DIR}/khelpcenter )
63 install( FILES org.kde.khelpcenter.kcmhelpcenter.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})