2010-11-12 04:51:49 -05:00
|
|
|
project (ndhcp)
|
2010-11-12 04:44:25 -05:00
|
|
|
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
|
2014-03-14 20:49:03 -04:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -Wall -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wshadow -Wpointer-arith -Wmissing-prototypes -lrt -lcap -D_GNU_SOURCE -DHAVE_CLEARENV -DLINUX")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -Wall -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wshadow -Wpointer-arith -Wmissing-prototypes -lrt -lcap -D_GNU_SOURCE -DHAVE_CLEARENV -DLINUX")
|
2010-11-12 04:44:25 -05:00
|
|
|
|
2014-03-10 00:52:56 -04:00
|
|
|
include_directories("${PROJECT_SOURCE_DIR}/ncmlib")
|
2010-11-12 05:42:07 -05:00
|
|
|
add_subdirectory(ncmlib)
|
2010-11-12 04:44:25 -05:00
|
|
|
|
|
|
|
add_subdirectory(ndhc)
|