Changeset 301 in flair-src for trunk/demos/MixedReality/virtual/uav


Ignore:
Timestamp:
Feb 7, 2019, 4:26:43 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

add demos resources

Location:
trunk/demos/MixedReality/virtual/uav
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/MixedReality/virtual/uav/CMakeLists.txt

    r297 r301  
    88SET(FLAIR_USE_META TRUE)
    99SET(FLAIR_USE_VRPN TRUE)
     10SET(COPY_RESOURCE_FILES true)
    1011
    1112include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
    1213include(${FLAIR_USE_FILE})
     14
     15if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64")
    1316
    1417SET(SRC_FILES
     
    3437
    3538TARGET_LINK_LIBRARIES(${PROJECT_NAME}_nrt ${FLAIR_LIBRARIES_NRT})
     39
     40INSTALL(
     41        TARGETS ${PROJECT_NAME}_rt
     42        RUNTIME DESTINATION $ENV{FLAIR_ROOT}/flair-bin/demos/${ARCH_DIR}/${PROJECT_NAME}
     43)
     44
     45INSTALL(
     46        TARGETS ${PROJECT_NAME}_nrt
     47        RUNTIME DESTINATION $ENV{FLAIR_ROOT}/flair-bin/demos/${ARCH_DIR}/${PROJECT_NAME}
     48)
     49
     50else()
     51    if(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
     52        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE} architecture")
     53    else()
     54        warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     55    endif()
     56endif()
Note: See TracChangeset for help on using the changeset viewer.