projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
659a98c
)
add install targets
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 20:17:33 +0000
(21:17 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 31 Jan 2011 20:17:33 +0000
(21:17 +0100)
.gitignore
patch
|
blob
|
history
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index 8bd0afc5e870abec0b34b7eee72c876e254a5e48..eb8eb29882b43e1c104a5b46d7ce897c16c1b9ea 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-9,3
+9,4
@@
ubus.sock
listener
ubusd
ubus
+install_manifest.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e579297ef9401c21e25af58b0b6beba1feb98019..11044cb63b519236fcd0cc2641d7f99d91434510 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-16,3
+16,12
@@
TARGET_LINK_LIBRARIES(cli ubus ubox)
ADD_EXECUTABLE(listener listener.c)
TARGET_LINK_LIBRARIES(listener ubus ubox)
+SET(CMAKE_INSTALL_PREFIX /usr)
+
+INSTALL(TARGETS ubus cli
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
+)
+INSTALL(TARGETS ubusd
+ RUNTIME DESTINATION sbin
+)