2023-01-28 02:20:27 +00:00
|
|
|
SET(DHCPD_PROJECT_TARGET opendhcpd)
|
|
|
|
|
|
|
|
PROJECT(${DHCPD_PROJECT_TARGET} CXX)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-Wno-write-strings)
|
|
|
|
|
2023-02-22 07:33:03 +00:00
|
|
|
INCLUDE_DIRECTORIES(../libs/include ./ ../libs/mongoose)
|
2023-01-28 02:20:27 +00:00
|
|
|
|
|
|
|
FILE(GLOB DHCPD_HEADS ./*.h)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-Wno-format-overflow -std=c++11 ${COMMON_DEFINE})
|
|
|
|
#ADD_EXECUTABLE(${PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS})
|
|
|
|
ADD_LIBRARY(${DHCPD_PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS} query.cpp)
|
|
|
|
|
|
|
|
#TARGET_LINK_LIBRARIES(${PROJECT_TARGET} -lpthread)
|