X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=CMakeLists.txt;h=ab82270915435b2c37b1573cbc3d2f8f74e22ccf;hb=9c8ab5d64cb1bfc6f8a235af5913ed3537c38e2a;hp=93ee7874e0d9bd22af3dc51eac22b6ba73a018ee;hpb=768a69b3cedfebde10825847e42f35ed4aee1856;p=project%2Flibubox.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 93ee787..ab82270 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(ubox C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3) +ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) OPTION(BUILD_LUA "build Lua plugin" ON) @@ -10,7 +10,7 @@ IF(APPLE) LINK_DIRECTORIES(/opt/local/lib) ENDIF() -SET(SOURCES avl.c avl-cmp.c blob.c blobmsg.c uloop.c usock.c ustream.c ustream-fd.c vlist.c) +SET(SOURCES avl.c avl-cmp.c blob.c blobmsg.c uloop.c usock.c ustream.c ustream-fd.c vlist.c utils.c) ADD_LIBRARY(ubox SHARED ${SOURCES})