1 cmake_minimum_required(VERSION 2.6) 2 3 PROJECT(umbim C) 4 5 OPTION(PROXY OFF) 6 7 ADD_DEFINITIONS(-Os -ggdb -Wextra -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unused-parameter) 8 9 SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") 10 11 SET(SOURCES cli.c mbim-enum.c mbim-dev.c mbim-msg.c ) 12 13 SET(LIBS ubox) 14 15 IF(DEBUG) 16 ADD_DEFINITIONS(-DDEBUG -g3) 17 ENDIF() 18 19 IF(PROXY) 20 ADD_DEFINITIONS(-DLIBQMI_MBIM_PROXY) 21 ENDIF() 22 23 ADD_EXECUTABLE(umbim ${SOURCES}) 24 25 TARGET_LINK_LIBRARIES(umbim ${LIBS}) 26 27 INSTALL(TARGETS umbim 28 RUNTIME DESTINATION sbin 29 )
This page was automatically generated by LXR 0.3.1. • OpenWrt