blob: fcb386b481e4006039c503c5c05ce0cc37dd39c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
SET(FRONTEND_NAME "OFCL")
SET(CLI_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/commands.c
${CMAKE_CURRENT_SOURCE_DIR}/commands.h
${CMAKE_CURRENT_SOURCE_DIR}/main.c
${CMAKE_CURRENT_SOURCE_DIR}/updater.c
${CMAKE_CURRENT_SOURCE_DIR}/updater.h
)
add_executable(${FRONTEND_NAME} ${CLI_SOURCES})
target_compile_options(${FRONTEND_NAME} PUBLIC ${CFLAGS})
target_link_libraries(${FRONTEND_NAME} PRIVATE tvn)
target_link_libraries(${FRONTEND_NAME} PRIVATE threading)
install(TARGETS ${FRONTEND_NAME})
|