mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
22 lines
497 B
CMake
22 lines
497 B
CMake
|
# Define the current source locations
|
||
|
|
||
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/api)
|
||
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/api)
|
||
|
|
||
|
FILE ( GLOB_RECURSE Api_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
||
|
|
||
|
set(Api_RESOURCES ${CURRENT_SOURCE_DIR}/JSONRPC_schemas.qrc )
|
||
|
|
||
|
add_library(hyperion-api
|
||
|
${Api_SOURCES}
|
||
|
${Api_RESOURCES}
|
||
|
)
|
||
|
|
||
|
target_link_libraries(hyperion-api
|
||
|
hyperion
|
||
|
hyperion-utils
|
||
|
Qt5::Core
|
||
|
Qt5::Gui
|
||
|
Qt5::Network
|
||
|
)
|