projects
/
project
/
ubus.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make building examples an option
[project/ubus.git]
/
examples
/
CMakeLists.txt
1
cmake_minimum_required(VERSION 2.6)
2
3
ADD_DEFINITIONS(-I..)
4
5
IF (BUILD_EXAMPLES)
6
ADD_EXECUTABLE(server server.c)
7
TARGET_LINK_LIBRARIES(server ubus ubox blobmsg_json)
8
9
ADD_EXECUTABLE(client client.c)
10
TARGET_LINK_LIBRARIES(client ubus ubox)
11
ENDIF()