2 add_subdirectory( tests )
4 ########### next target ###############
6 set(solid_fakenet_PART_SRCS
8 fakenetworkinterface.cpp
9 fakewirednetworkinterface.cpp
10 fakewirelessnetworkinterface.cpp
11 fakenetworkmanager.cpp
15 kde4_add_library(solid_fakenet_static STATIC ${solid_fakenet_PART_SRCS} )
16 target_link_libraries(solid_fakenet_static solidcontrol solidcontrolifaces ${KDE4_KDECORE_LIBS} ${QT_QTXML_LIBRARY} )
18 kde4_add_plugin(solid_fakenet module.cpp ${solid_fakenet_PART_SRCS})
21 target_link_libraries(solid_fakenet solidcontrol solidcontrolifaces ${KDE4_KDECORE_LIBS} ${QT_QTXML_LIBRARY} )
23 install(TARGETS solid_fakenet DESTINATION ${PLUGIN_INSTALL_DIR} )
26 ########### install files ###############
28 install( FILES solid_fakenet.desktop DESTINATION ${SERVICES_INSTALL_DIR}/solidbackends )
29 install( FILES fakenetworking.xml DESTINATION ${DATA_INSTALL_DIR}/solidfakenetbackend )