Last change
on this file since 469 was 302, checked in by Sanahuja Guillaume, 6 years ago |
modifs nouveau build system
|
File size:
430 bytes
|
Rev | Line | |
---|
[13] | 1 | PROJECT(HelloWorld)
|
---|
| 2 | cmake_minimum_required(VERSION 2.8)
|
---|
| 3 |
|
---|
| 4 | ADD_EXECUTABLE(${PROJECT_NAME}
|
---|
| 5 | src/main.c
|
---|
| 6 | )
|
---|
| 7 |
|
---|
| 8 | SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
---|
| 9 |
|
---|
[302] | 10 | #add_custom_target(
|
---|
| 11 | # delivery
|
---|
| 12 | # COMMAND make
|
---|
| 13 | # COMMAND scp bin/${PROJECT_NAME} root@192.168.147.63:/home/root/
|
---|
| 14 | #)
|
---|
[299] | 15 |
|
---|
| 16 | INSTALL(
|
---|
| 17 | TARGETS ${PROJECT_NAME}
|
---|
[302] | 18 | RUNTIME DESTINATION $ENV{FLAIR_ROOT}/flair-install/bin/demos/${ARCH_DIR}/${PROJECT_NAME}
|
---|
[299] | 19 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.