source: flair-src/branches/mavlink/demos/HelloWorld/CMakeLists.txt@ 62

Last change on this file since 62 was 13, checked in by Sanahuja Guillaume, 9 years ago

helloworld

File size: 290 bytes
Line 
1PROJECT(HelloWorld)
2cmake_minimum_required(VERSION 2.8)
3
4ADD_EXECUTABLE(${PROJECT_NAME}
5 src/main.c
6)
7
8SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
9
10add_custom_target(
11 delivery
12 COMMAND make
13 COMMAND scp bin/${PROJECT_NAME} root@192.168.6.1:/home/root/
14)
Note: See TracBrowser for help on using the repository browser.