not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / solid / networkmanager-0.7 / CMakeLists.txt
blob8c3794251071aeb9af29c2acc0aedf58f5c4a131
1 include_directories(
2    ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs
3    ${NETWORKMANAGER_INCLUDE_DIRS}
4    ${NM-UTIL_INCLUDE_DIRS}
5    ${CMAKE_CURRENT_SOURCE_DIR}/dbus
6    ${CMAKE_CURRENT_BUILD_DIR}
9 add_subdirectory(dbus)
11 #add_subdirectory(tests)
13 set(solid_networkmanager_PART_SRCS
14    #NetworkManager-network.cpp
15    #NetworkManager-networkmanager.cpp
16    #NetworkManager-networkinterface.cpp
17    #NetworkManager-wirelessnetwork.cpp
18    #NetworkManager-dbushelper.cpp
19    accesspoint.cpp
20    manager.cpp
21    networkinterface.cpp
22    wirednetworkinterface.cpp
23    wirelessnetworkinterface.cpp
24    networkserialinterface.cpp
25    networkcdmainterface.cpp
26    networkgsminterface.cpp
27    nmpropertyhelper.cpp
30 set( DBUS_INTERFACES_FILES
31    dbus/activeconnection.cpp
32    dbus/nm-manager-clientinterface.cpp
33    dbus/nm-deviceinterface.cpp
34    dbus/nm-access-pointinterface.cpp
35    dbus/nm-device-ethernetinterface.cpp
36    dbus/nm-device-wifiinterface.cpp
37    dbus/nm-device-serialinterface.cpp
38    dbus/nm-device-cdmainterface.cpp
39    dbus/nm-device-gsminterface.cpp
40    dbus/nm-ip4-configinterface.cpp
41    dbus/nm-dhcp4-configinterface.cpp
45 kde4_add_library(solid_networkmanager07_static STATIC ${solid_networkmanager_PART_SRCS} ${DBUS_INTERFACES_FILES})
46 target_link_libraries(solid_networkmanager07_static ${KDE4_KDECORE_LIBS} solidcontrolifaces)
48 #kde4_add_plugin(solid_networkmanager ${solid_networkmanager_PART_SRCS})
49 kde4_add_plugin(solid_networkmanager07 module.cpp ${solid_networkmanager_PART_SRCS} ${DBUS_INTERFACES_FILES})
51 set(NMPROPTEST_SRCS nmpropertyhelper.cpp nmpropertytest.cpp)
52 #kde4_add_executable(nmpropertytest ${NMPROPTEST_SRCS})
53 #target_link_libraries(nmpropertytest ${KDE4_KDECORE_LIBS})
55 target_link_libraries(solid_networkmanager07 ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} solidcontrol solidcontrolifaces)
56 install(TARGETS solid_networkmanager07 DESTINATION ${PLUGIN_INSTALL_DIR})
58 install(FILES solid_networkmanager07.desktop DESTINATION ${SERVICES_INSTALL_DIR}/solidbackends )
60 kde4_install_icons( ${ICON_INSTALL_DIR} )