10 lines
303 B
CMake
10 lines
303 B
CMake
FILE(GLOB SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*Test.cpp" )
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
|
|
|
|
ADD_LIBRARY(TelldusServiceTests STATIC ${SRCS} )
|
|
|
|
TARGET_LINK_LIBRARIES( TelldusServiceTests TelldusServiceStatic ${CPPUNIT} )
|
|
ADD_DEPENDENCIES( TelldusServiceTests ${telldus-service_TARGET} )
|
|
|