2009-04-25 14:26:01 +02:00
|
|
|
project(QtJolie)
|
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
2009-04-25 16:06:25 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
2009-04-25 14:26:01 +02:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${QT_INCLUDE_DIR})
|
|
|
|
|
2009-04-25 15:50:35 +02:00
|
|
|
set(qtjolie_LIB_SRCS client.cpp clientthread.cpp value.cpp fault.cpp message.cpp pendingcall.cpp)
|
2009-04-25 14:26:01 +02:00
|
|
|
|
|
|
|
kde4_add_library(QtJolie SHARED ${qtjolie_LIB_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(QtJolie ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY})
|
|
|
|
|
|
|
|
install(TARGETS QtJolie
|
|
|
|
DESTINATION ${LIB_INSTALL_DIR})
|
|
|
|
|
|
|
|
set_target_properties(QtJolie PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
|
|
|
|
|
|
|
install(FILES
|
2009-04-25 15:50:35 +02:00
|
|
|
client.h
|
|
|
|
value.h
|
|
|
|
fault.h
|
|
|
|
message.h
|
|
|
|
pendingcall.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/qtjolie)
|