blob: 48addacbff76317b57d360f4b3f602202e4f283a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
cmake_minimum_required(VERSION 2.6)
PROJECT(uhttpd C)
ADD_DEFINITIONS(-O2 -Wall -Werror -Wmissing-declarations --std=gnu99 -g3)
IF(APPLE)
INCLUDE_DIRECTORIES(/opt/local/include)
LINK_DIRECTORIES(/opt/local/lib)
ENDIF()
ADD_EXECUTABLE(uhttpd main.c listen.c client.c utils.c file.c auth.c cgi.c relay.c proc.c)
TARGET_LINK_LIBRARIES(uhttpd ubox ubus)
|