summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/CMakeLists.txt
blob: 771677e0c5429ae2c842131ba38172644edcc487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
aux_source_directory(../common LOG_SRCS)
aux_source_directory(. ENCODE_SRCS)

find_package(nlohmann_json REQUIRED)
find_package(spdlog REQUIRED)

include_directories(include)

add_library(xencode SHARED ${LOG_SRCS} ${ENCODE_SRCS})

file(GLOB HDRS "include/*.h")

install(FILES ${HDRS}
	    DESTINATION "include/xvesagent/xencode"
)
install(FILES ../../cmake/xencodeConfig.cmake
	    DESTINATION "lib/cmake/xencode"
)
INSTALL(TARGETS xencode
	LIBRARY DESTINATION lib
)