1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
project(swaygrab) file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) add_executable(swaygrab ${sources} ${common} ) target_link_libraries(swaygrab rt ) install( TARGETS swaygrab RUNTIME DESTINATION bin COMPONENT runtime )