1 # TODO Find how to test logging framework
2 file(GLOB_RECURSE SOURCES "src/*.cpp")
4 if (NOT LUCI_LIBRARY_TYPE)
5 set(LUCI_LIBRARY_TYPE "SHARED")
6 endif(NOT LUCI_LIBRARY_TYPE)
8 add_library(luci_log ${LUCI_LIBRARY_TYPE} ${SOURCES})
9 target_include_directories(luci_log PUBLIC include)
10 target_link_libraries(luci_log PUBLIC hermes)
11 target_link_libraries(luci_log PRIVATE hermes_std)
12 target_link_libraries(luci_log PRIVATE nncc_common)
13 target_link_libraries(luci_log PRIVATE luci_env)
14 install(TARGETS luci_log DESTINATION lib)
15 install(DIRECTORY include/ DESTINATION include
16 FILES_MATCHING PATTERN "*.h")