Changeset 308 in flair-src for trunk/tools/VrpnBridge


Ignore:
Timestamp:
Mar 13, 2019, 4:38:43 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

add vrpnlite tool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnBridge/CMakeLists.txt

    r302 r308  
    55if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
    66
     7set(FLAIR_USE_VRPN true)
     8
    79include_directories(
    8         ${FLAIR_INCLUDE_DIR}
    910    ${CMAKE_SYSROOT}/usr/include/vrpn
    1011)
    1112
    12 ADD_EXECUTABLE(${PROJECT_NAME}
    13     src/main.cpp
    14 )
    15 
    16 TARGET_LINK_LIBRARIES(${PROJECT_NAME} vrpn)
    17 
    18 INSTALL(
    19         TARGETS ${PROJECT_NAME}
    20         RUNTIME DESTINATION $ENV{FLAIR_ROOT}/flair-install/bin/tools/${ARCH_DIR}
    21 )
    22 
    23 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     13FLAIR_NRT_TOOL(${PROJECT_NAME} src/main.cpp)
    2414
    2515else()
Note: See TracChangeset for help on using the changeset viewer.