mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
5c7085439b
* update * resolve qt5w * test * Go down cmake python search won the price for crazy lib searches! * 2.7 python forced, RPATH * upstream * ... * update * ... * 2.7.12 py it picks random versions... * max 7.12.5.... * Test 14.04 tests
25 lines
525 B
CMake
25 lines
525 B
CMake
|
|
# Define the current source locations
|
|
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/jsonserver)
|
|
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/jsonserver)
|
|
|
|
set(JsonServer_HEADERS
|
|
${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
|
|
Qt5::Network
|
|
Qt5::Gui)
|