2016-05-26 23:44:27 +02:00
|
|
|
|
|
|
|
# Define the current source locations
|
|
|
|
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/boblightserver)
|
|
|
|
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/boblightserver)
|
|
|
|
|
2017-08-01 15:42:36 +02:00
|
|
|
set(BoblightServer_HEADERS
|
2016-05-26 23:44:27 +02:00
|
|
|
${CURRENT_HEADER_DIR}/BoblightServer.h
|
|
|
|
${CURRENT_SOURCE_DIR}/BoblightClientConnection.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(BoblightServer_SOURCES
|
|
|
|
${CURRENT_SOURCE_DIR}/BoblightServer.cpp
|
|
|
|
${CURRENT_SOURCE_DIR}/BoblightClientConnection.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(boblightserver
|
|
|
|
${BoblightServer_HEADERS}
|
|
|
|
${BoblightServer_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(boblightserver
|
|
|
|
hyperion
|
|
|
|
hyperion-utils
|
|
|
|
${QT_LIBRARIES})
|