From aae3d45a85cb4f4a77f2bd129d43b21307966fb0 Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Mon, 28 Jan 2013 19:49:00 +0100 Subject: Integrate accel-cmd with accel-ppp's build process Create a CMakeLists.txt file for accel-cmd so that it gets compiled and installed like accel-pppd. Signed-off-by: Guillaume Nault --- accel-cmd/CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 accel-cmd/CMakeLists.txt (limited to 'accel-cmd/CMakeLists.txt') diff --git a/accel-cmd/CMakeLists.txt b/accel-cmd/CMakeLists.txt new file mode 100644 index 00000000..4455c8df --- /dev/null +++ b/accel-cmd/CMakeLists.txt @@ -0,0 +1,14 @@ +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -D_GNU_SOURCE") + +ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}") + +ADD_EXECUTABLE(accel-cmd + accel_cmd.c +) + +INSTALL(TARGETS accel-cmd + RUNTIME DESTINATION bin +) +INSTALL(FILES accel-cmd.1 + DESTINATION share/man/man1 +) -- cgit v1.2.3