diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-01-28 19:49:00 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-06 20:47:11 +0400 |
commit | aae3d45a85cb4f4a77f2bd129d43b21307966fb0 (patch) | |
tree | 1446659bcc24466d6764818ef9f09e880ab0b706 /accel-cmd/CMakeLists.txt | |
parent | 0ab9170e9ef46d8596cd022c60ba21079a4e0998 (diff) | |
download | accel-ppp-aae3d45a85cb4f4a77f2bd129d43b21307966fb0.tar.gz accel-ppp-aae3d45a85cb4f4a77f2bd129d43b21307966fb0.zip |
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 <g.nault@alphalink.fr>
Diffstat (limited to 'accel-cmd/CMakeLists.txt')
-rw-r--r-- | accel-cmd/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
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 +) |