• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/mdnsd/CMakeLists.txt

  1 cmake_minimum_required(VERSION 2.6)
  2 
  3 PROJECT(umdns C)
  4 ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations)
  5 
  6 SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
  7 
  8 SET(SOURCES main.c dns.c announce.c cache.c service.c util.c ubus.c interface.c)
  9 
 10 SET(LIBS ubox ubus resolv blobmsg_json json-c)
 11 
 12 IF(DEBUG)
 13   ADD_DEFINITIONS(-DDEBUG -g3)
 14 ENDIF()
 15 
 16 ADD_EXECUTABLE(umdns ${SOURCES})
 17 
 18 TARGET_LINK_LIBRARIES(umdns ${LIBS})
 19 
 20 INSTALL(TARGETS umdns
 21         RUNTIME DESTINATION sbin
 22 )

This page was automatically generated by LXR 0.3.1.  •  OpenWrt