summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* ubus: Support static buildsAlban Bedel2019-07-011-3/+10
| | | | | | | Extend the cmake config to build and install static libraries when -DBUILD_STATIC=ON is used. Signed-off-by: Alban Bedel <albeu@free.fr>
* build: remove /opt/local prefixFelix Fietkau2016-11-201-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: Fix find_library for ubusd and examples/serverFlorian Fainelli2016-07-011-1/+2
| | | | | | | | | | | | | | | | Both ubusd and cli TARGET_LINK_LIBRARIES reference ${json} which is obtained via find_library(), but since the find_library() is searched after the TARGET_LINK_LIBRARIES for ubusd, ubusd always gets an empty ${json} variable. examples/server also links against libjson-c, but we were not setting TARGET_LINK_LIBRARIES accordingly, so do that too with ${json} appended. This was causing linking errors for ubusd and then examples/server using an external toolchain (stbgcc-4.8-1.x). Fixes: 9f52d1769b762 ("cli: use the new json-c library name") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* ubusd: remove systemd socket activation supportJohn Crispin2016-06-011-18/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubusd: fix systemd socket activation supportMatthias Schiffer2016-06-011-5/+10
| | | | | | | | | | | | 62cdfc3 added systemd units including a ubus.socket unit, but didn't actually add socket activation support to ubusd. This would cause the first connection that activated ubusd to hang (as ubusd ignored it), and stopping ubusd would break it completely (as ubusd removed the socket file). The ENABLE_SYSTEMD default is changed to OFF as the socket activation uses libsystemd, so setting ENABLE_SYSTEMD to ON will now require libsystemd. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* cmake: Add ubox, blobmsg_json libraries and include dirs lookupPetr Štetiar2016-03-071-3/+14
| | | | | | | Otherwise cmake uses files from system which sometimes isn't wanted, ie. for testing. Signed-off-by: Petr Å tetiar <ynezz@true.cz>
* ubusd: add monitor supportFelix Fietkau2015-11-191-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add acl codeJohn Crispin2015-06-181-3/+3
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* ubus: increase message size limit and make it configurable at build-timeAlexandru Ardelean2014-07-031-0/+2
|
* cli: use the new json-c library nameFelix Fietkau2013-05-291-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add systemd supportThomas Gstädtner2013-03-041-0/+13
| | | | | | | | This adds basic systemd support, incl. socket activation. If systemd build is disabled, there won't be any sign of it neither during build nor after. If systemd build is enabled (default), but systemd is not available, no systemd stuff is installed, so there is no impact whatsoever.
* make UBUS_UNIX_SOCKET configurable via cmakeThomas Gstädtner2013-03-041-0/+3
| | | | | | this is mainly useful to have a single location to read the setting from, when it is used multiple times at build time (which it will in a following patch) :)
* make building examples an optionThomas Gstädtner2013-03-031-0/+1
|
* build: remove install prefix overrideFelix Fietkau2013-01-231-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* libubus: refactor code, move request handling to libubus-req.cFelix Fietkau2012-12-141-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* watch add/remove -> subscribe/unsubscribe:Felix Fietkau2012-12-131-1/+1
| | | | | | | rename the ADD_WATCH/REMOVE_WATCH messages to SUBSCRIBE/UNSUBSCRIBE and change the message format and libubus API in preparation for adding object notifications Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* libubus: split out some code into separate source filesFelix Fietkau2012-10-241-1/+1
|
* move example to examples/Felix Fietkau2012-10-241-3/+1
|
* enable -Wmissing-declarationsFelix Fietkau2012-05-291-1/+1
|
* implement Lua bindingJo-Philipp Wich2012-05-051-0/+4
|
* change minimum cmake version to 2.6Felix Fietkau2011-02-121-1/+1
|
* suppress -rdynamic when linking ubusFelix Fietkau2011-02-071-0/+2
|
* use the json to blobmsg libraryFelix Fietkau2011-02-061-1/+1
|
* rename listener to ubus-exampleFelix Fietkau2011-02-061-2/+2
|
* add support for parsing method calls with json argumentsFelix Fietkau2011-02-061-1/+6
|
* add some stub functionality for the ubus event switchFelix Fietkau2011-02-051-1/+1
|
* install header filesFelix Fietkau2011-02-051-0/+2
|
* add install targetsFelix Fietkau2011-01-311-0/+9
|
* make libubus a dynamic libraryFelix Fietkau2011-01-311-1/+3
|
* Initial importFelix Fietkau2011-01-301-0/+16