2010-11-12 04:51:49 -05:00
|
|
|
project (ndhcp)
|
2010-11-12 04:44:25 -05:00
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
|
2011-07-12 04:09:05 -04:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s -std=gnu99 -pedantic -Wall -lcap -D_GNU_SOURCE -DHAVE_CLEARENV -DLINUX")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -s -std=gnu99 -pedantic -Wall -lcap -D_GNU_SOURCE -DHAVE_CLEARENV -DLINUX")
|
2010-11-12 04:44:25 -05:00
|
|
|
|
2011-07-25 02:01:38 -04:00
|
|
|
include_directories(
|
|
|
|
"${PROJECT_SOURCE_DIR}/ncmlib"
|
|
|
|
"${PROJECT_SOURCE_DIR}/ifchd")
|
2010-11-12 05:42:07 -05:00
|
|
|
add_subdirectory(ncmlib)
|
2010-11-12 04:44:25 -05:00
|
|
|
|
2010-11-12 04:51:49 -05:00
|
|
|
add_subdirectory(ifchd)
|
2010-11-12 04:44:25 -05:00
|
|
|
add_subdirectory(ndhc)
|