not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / libs / solid / control / CMakeLists.txt
blob4a0da6e3a48669e84aa450c5e22afc7f011d0d0a
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
10    frontendobject.cpp
11    managerbase.cpp
12    powermanager.cpp
13    networking.cpp
14    networkmanager.cpp
15    networkinterface.cpp
16    networkcdmainterface.cpp
17    networkgsminterface.cpp
18    networkserialinterface.cpp
19    networkipv4config.cpp
20    wirednetworkinterface.cpp
21    wirelessaccesspoint.cpp
22    wirelessnetworkinterface.cpp
23    bluetoothinterface.cpp
24    bluetoothmanager.cpp
25    bluetoothremotedevice.cpp
26    bluetoothinputdevice.cpp
27    bluetoothsecurity.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
48     DESTINATION
49 ${INCLUDE_INSTALL_DIR}/solid/control COMPONENT Devel)