source: flair-src/trunk/lib/FlairCore/rt/CMakeLists.txt @ 42

Last change on this file since 42 was 2, checked in by Sanahuja Guillaume, 5 years ago

flaircore

File size: 514 bytes
Line 
1PROJECT(FlairCore_rt)
2
3find_package(Xenomai REQUIRED)
4ADD_DEFINITIONS(${XENOMAI_DEFINITIONS})
5
6INCLUDE_DIRECTORIES(
7        ${XENOMAI_INCLUDE_DIR}
8)
9
10ADD_LIBRARY(${PROJECT_NAME}
11        ${FLAIRCORE_SRC}
12)
13
14INSTALL(TARGETS ${PROJECT_NAME}
15        LIBRARY DESTINATION $ENV{FLAIR_ROOT}/flair-bin/lib/${ARCH_DIR}
16        ARCHIVE DESTINATION $ENV{FLAIR_ROOT}/flair-bin/lib/${ARCH_DIR}
17)
18
19FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/../src/*.h")
20INSTALL(FILES ${files} DESTINATION $ENV{FLAIR_ROOT}/flair-dev/include/FlairCore)
Note: See TracBrowser for help on using the repository browser.