summaryrefslogtreecommitdiff
path: root/examples/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Fix find_library for ubusd and examples/serverFlorian Fainelli2016-07-011-1/+1
| | | | | | | | | | | | | | | | 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>
* cmake: Add ubox, blobmsg_json libraries and include dirs lookupPetr Štetiar2016-03-071-2/+2
| | | | | | | Otherwise cmake uses files from system which sometimes isn't wanted, ie. for testing. Signed-off-by: Petr Å tetiar <ynezz@true.cz>
* ubus: add count test to validate large message sizesAlexandru Ardelean2014-07-031-2/+2
| | | | | | | | | | | Client creates a string "1 2 3 ... 10000 ...", sends it to the server along with the maximum number in the string. Server creates another string like the client sent. It validates it and, returns strcmp()'s result. This is loop-ed every 2 seconds.
* add INCLUDE_DIRECTORIES to subdirectoriesThomas Gstädtner2013-03-031-0/+1
|
* make building examples an optionThomas Gstädtner2013-03-031-5/+6
|
* examples: use blocking notifyFelix Fietkau2012-12-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* examples: split client/server codeFelix Fietkau2012-10-241-2/+6
|
* move example to examples/Felix Fietkau2012-10-241-0/+6