3 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-wifi.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-wifi.h )
6 add_subdirectory( pixmaps )
7 add_subdirectory( locations )
11 ########### next target ###############
14 interface_wireless.cpp
15 interface_wireless_wirelessextensions.cpp
23 qt4_add_dbus_adaptor( kwifimanager_SRCS org.kde.wifi.Wifi.xml kwifimanager.h KWiFiManagerApp)
24 kde4_automoc(${kwifimanager_SRCS})
26 kde4_add_ui_files(kwifimanager_SRCS
34 kde4_add_kcfg_files(kwifimanager_SRCS kwifi_settings.kcfgc )
36 kde4_add_executable(kwifimanager ${kwifimanager_SRCS})
38 target_link_libraries(kwifimanager ${KDE4_KDEUI_LIBS} ${IW_LIBRARIES} )
40 install(TARGETS kwifimanager DESTINATION ${BIN_INSTALL_DIR} )
43 ########### install files ###############
45 install( FILES kwifimanager.desktop DESTINATION ${XDG_APPS_DIR})
46 install( FILES kwifimanagerui.rc DESTINATION ${DATA_INSTALL_DIR}/kwifimanager)
47 install( FILES kwifimanager.kcfg DESTINATION ${KCFG_INSTALL_DIR})
49 kde4_install_icons( ${ICON_INSTALL_DIR} )