1 cmake_minimum_required(VERSION 2.6) 2 3 ADD_DEFINITIONS(-I..) 4 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) 5 6 IF (BUILD_EXAMPLES) 7 ADD_EXECUTABLE(server server.c count.c) 8 TARGET_LINK_LIBRARIES(server ubus ${ubox_library} ${blob_library} ${json}) 9 10 ADD_EXECUTABLE(client client.c count.c) 11 TARGET_LINK_LIBRARIES(client ubus ${ubox_library}) 12 ENDIF()
This page was automatically generated by LXR 0.3.1. • OpenWrt