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
18 bluetoothinterface.cpp
20 bluetoothremotedevice.cpp
21 bluetoothinputdevice.cpp
26 qt4_add_dbus_interface(solidcontrol_LIB_SRCS org.kde.Solid.Networking.xml org_kde_solid_networking)
29 kde4_add_library(solidcontrol SHARED ${solidcontrol_LIB_SRCS})
31 target_link_libraries(solidcontrol ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} solidcontrolifaces )
33 set_target_properties(solidcontrol PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
34 install(TARGETS solidcontrol DESTINATION ${LIB_INSTALL_DIR} )
37 ########### install files ###############
39 install( FILES solidpowermanager.desktop solidnetworkmanager.desktop solidbluetoothmanager.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
40 install( FILES powermanager.h networkmanager.h networkinterface.h network.h wirelessnetwork.h
41 authentication.h bluetoothmanager.h bluetoothinterface.h bluetoothremotedevice.h
42 bluetoothinputdevice.h bluetoothsecurity.h singletondefs.h networking.h solid_control_export.h DESTINATION
43 ${INCLUDE_INSTALL_DIR}/solid/control)