add more spacing
[personal-kdebase.git] / runtime / platforms / win / kwinstartmenu / CMakeLists.txt
blob13ed2c3e7b7b19a488d786f3ce2e821d70ffcd9a
1 project(winstartmenu)
3 # use kded debug category for now
4 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=7020)
6 set (shared_SOURCES
7     linkfile.cpp
8     linkfile.h
9     misc.cpp
10     misc.h
13 set(kded_winstartmenu_SRCS 
14     winstartmenu.cpp 
15     ${shared_SOURCES}
18 qt4_add_dbus_adaptor(kded_winstartmenu_SRCS org.kde.WinStartMenu.xml winstartmenu.h WinStartMenuModule winstartmenu_adaptor WinStartMenuAdaptor)
19 kde4_add_plugin(kded_winstartmenu ${kded_winstartmenu_SRCS})
20 target_link_libraries( kded_winstartmenu ${KDE4_KIO_LIBS} ole32 uuid )
22 ########### install ###############
24 install(TARGETS kded_winstartmenu  DESTINATION ${PLUGIN_INSTALL_DIR} )
25 install( FILES winstartmenu.desktop  DESTINATION  ${SERVICES_INSTALL_DIR}/kded )
26 install( FILES org.kde.WinStartMenu.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
28 ########### next target ###############
30 set(winstartmenu_SRCS 
31     main.cpp 
32     ${shared_SOURCES}
35 kde4_add_executable(kwinstartmenu NOGUI ${winstartmenu_SRCS})
36 target_link_libraries(kwinstartmenu ${KDE4_KIO_LIBS} ole32 uuid )
38 ########### install ###############
40 install( TARGETS kwinstartmenu DESTINATION  ${BIN_INSTALL_DIR} )