1 2 3 4 5 6 7 8 9 10 11 12 13 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 )