2016-05-26 23:44:27 +02:00
|
|
|
|
|
|
|
# Define the current source locations
|
|
|
|
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/jsonserver)
|
|
|
|
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/jsonserver)
|
|
|
|
|
2017-08-01 15:42:36 +02:00
|
|
|
set(JsonServer_HEADERS
|
2016-05-26 23:44:27 +02:00
|
|
|
${CURRENT_HEADER_DIR}/JsonServer.h
|
|
|
|
${CURRENT_SOURCE_DIR}/JsonClientConnection.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(JsonServer_SOURCES
|
|
|
|
${CURRENT_SOURCE_DIR}/JsonServer.cpp
|
|
|
|
${CURRENT_SOURCE_DIR}/JsonClientConnection.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(jsonserver
|
|
|
|
${JsonServer_HEADERS}
|
|
|
|
${JsonServer_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(jsonserver
|
|
|
|
hyperion
|
2017-08-01 15:42:36 +02:00
|
|
|
Qt5::Network
|
|
|
|
Qt5::Gui)
|