2010-11-12 15:21:49 +05:30
|
|
|
project (ndhcp)
|
2010-11-12 15:14:25 +05:30
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
|
2012-04-03 19:34:47 +05:30
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s -std=gnu99 -pedantic -Wall -Wno-format-extra-args -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -lrt -lcap -D_GNU_SOURCE -DHAVE_CLEARENV -DLINUX")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -s -std=gnu99 -pedantic -Wall -Wno-format-extra-args -Wno-format-zero-length -Wformat-nonliteral -Wformat-security -lrt -lcap -D_GNU_SOURCE -DHAVE_CLEARENV -DLINUX")
|
2010-11-12 15:14:25 +05:30
|
|
|
|
2011-07-25 11:31:38 +05:30
|
|
|
include_directories(
|
|
|
|
"${PROJECT_SOURCE_DIR}/ncmlib"
|
|
|
|
"${PROJECT_SOURCE_DIR}/ifchd")
|
2010-11-12 16:12:07 +05:30
|
|
|
add_subdirectory(ncmlib)
|
2010-11-12 15:14:25 +05:30
|
|
|
|
2010-11-12 15:21:49 +05:30
|
|
|
add_subdirectory(ifchd)
|
2010-11-12 15:14:25 +05:30
|
|
|
add_subdirectory(ndhc)
|