1 cmake_minimum_required(VERSION 2.6) 2 3 PROJECT(mountd C) 4 ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unused-result -Wno-format-truncation) 5 6 FIND_PATH(uci_include_dir uci.h) 7 INCLUDE_DIRECTORIES(${uci_include_dir}) 8 9 SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") 10 11 ADD_EXECUTABLE(mountd main.c log.c sys.c autofs.c mount.c timer.c signal.c ucix.c led.c fs.c ucix.c) 12 TARGET_LINK_LIBRARIES(mountd uci ubox) 13 14 INSTALL(TARGETS mountd 15 RUNTIME DESTINATION sbin 16 )
This page was automatically generated by LXR 0.3.1. • OpenWrt