blob: e3f2c9e2251e9c8e94d451bc3481f18452a7b574 [file] [log] [blame]
#
# CMakeLists.txt for openwsman/src/cpp
#
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
SET( wsmaninclude_HEADERS OpenWsmanClient.h Exception.h WsmanClient.h WsmanFilter.h WsmanEPR.h )
SET(wsman_clientpp_LIB_SRCS OpenWsmanClient.cpp )
add_library(wsman_clientpp SHARED ${wsman_clientpp_LIB_SRCS})
set_target_properties(wsman_clientpp PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS wsman_clientpp DESTINATION ${LIB_INSTALL_DIR})
install(FILES ${wsmaninclude_HEADERS} DESTINATION ${INCLUDE_DIR}/openwsman/cpp)