1 include_directories( ${CMAKE_SOURCE_DIR}/workspace/libs )
3 add_subdirectory( ifaces )
4 add_subdirectory( backends )
5 add_subdirectory( tests )
7 ########### next target ###############
9 set(solidcontrol_LIB_SRCS
16 networkcdmainterface.cpp
17 networkgsminterface.cpp
18 networkserialinterface.cpp
20 wirednetworkinterface.cpp
21 wirelessaccesspoint.cpp
22 wirelessnetworkinterface.cpp
23 bluetoothinterface.cpp
25 bluetoothremotedevice.cpp
26 bluetoothinputdevice.cpp
30 qt4_add_dbus_interface(solidcontrol_LIB_SRCS org.kde.Solid.Networking.xml org_kde_solid_networking)
32 kde4_add_library(solidcontrol SHARED ${solidcontrol_LIB_SRCS})
34 target_link_libraries(solidcontrol ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} ${QT_QTNETWORK_LIBRARY} solidcontrolifaces )
36 set_target_properties(solidcontrol PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
37 install(TARGETS solidcontrol EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
40 ########### install files ###############
42 install( FILES solidpowermanager.desktop solidnetworkmanager.desktop solidbluetoothmanager.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
43 install( FILES powermanager.h networkmanager.h networkinterface.h wirednetworkinterface.h
44 wirelessnetworkinterface.h wirelessaccesspoint.h bluetoothmanager.h bluetoothinterface.h
45 bluetoothremotedevice.h bluetoothinputdevice.h bluetoothsecurity.h
46 singletondefs.h networking.h networkipv4config.h solid_control_export.h
47 networkcdmainterface.h networkgsminterface.h networkserialinterface.h
49 ${INCLUDE_INSTALL_DIR}/solid/control COMPONENT Devel)