Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-05-24 00:21:27 +0400
committerFelix Fietkau <nbd@openwrt.org>2011-05-24 00:21:27 +0400
commitfda6079b30a4f47daf95c8b93b9c86afee008f45 (patch)
tree1ed4ebe9460ba8926b89a84e69521384bf9e741a /CMakeLists.txt
parent3041e8ce9b128480317b91eb97fe64914d975a59 (diff)
add jshn
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e8f093..2729150 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,18 @@ find_library(json json)
IF(EXISTS ${json})
ADD_LIBRARY(blobmsg_json SHARED blobmsg_json.c)
TARGET_LINK_LIBRARIES(blobmsg_json ubox json)
- INSTALL(TARGETS blobmsg_json
+
+ ADD_EXECUTABLE(jshn jshn.c)
+ TARGET_LINK_LIBRARIES(jshn json)
+
+ INSTALL(TARGETS blobmsg_json jshn
LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
)
+
+ FILE(GLOB scripts sh/*.sh)
+ INSTALL(FILES ${scripts}
+ DESTINATION share/libubox
+ )
+
ENDIF()