mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
* All core Data Model move to core micro-service * New bbfdmd daemon to use async call to optimize RPCs handling
12 lines
409 B
CMake
12 lines
409 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
PROJECT(bbfdmd)
|
|
|
|
ADD_DEFINITIONS(-fstrict-aliasing -Wall -Wextra -Werror -Wformat -Wformat-signedness -g3 -fPIC -D_GNU_SOURCE)
|
|
|
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${CMAKE_SOURCE_DIR}")
|
|
|
|
FILE(GLOB BBF_SOURCES *.c)
|
|
ADD_EXECUTABLE(bbfdmd ${BBF_SOURCES})
|
|
TARGET_LINK_LIBRARIES(bbfdmd ubus ubox blobmsg_json json-c bbfdm-api-v2)
|
|
INSTALL(TARGETS bbfdmd DESTINATION usr/sbin)
|