ubus/examples/CMakeLists.txt

13 lines
351 B
Text
Raw Normal View History

2012-10-01 14:54:54 +02:00
cmake_minimum_required(VERSION 2.6)
ADD_DEFINITIONS(-I..)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
2012-10-01 15:03:26 +02:00
2013-03-03 03:06:19 +01:00
IF (BUILD_EXAMPLES)
ADD_EXECUTABLE(server server.c count.c)
TARGET_LINK_LIBRARIES(server ubus ${ubox_library} ${blob_library} ${json})
2012-10-01 14:54:54 +02:00
ADD_EXECUTABLE(client client.c count.c)
TARGET_LINK_LIBRARIES(client ubus ${ubox_library})
2013-03-03 03:06:19 +01:00
ENDIF()