Changeset 107 in flair-src for trunk/tools/Controller


Ignore:
Timestamp:
Nov 3, 2016, 11:11:54 AM (8 years ago)
Author:
Sanahuja Guillaume
Message:

m

Location:
trunk/tools/Controller
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Controller/DualShock3/CMakeLists.txt

    r39 r107  
    11PROJECT(dualshock3)
    22cmake_minimum_required(VERSION 2.8)
     3include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
     4
     5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
    36
    47SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
    5 
    6 include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
    78include(${FLAIR_USE_FILE})
    89
     
    3132
    3233SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     34
     35else()
     36warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     37endif()
  • trunk/tools/Controller/Mavlink/CMakeLists.txt

    r88 r107  
    11PROJECT(MavPlanner)
    22cmake_minimum_required(VERSION 2.8)
     3include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
    34
    4 include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
     5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
     6
    57include(${FLAIR_USE_FILE})
    68
     
    2729
    2830SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     31
     32else()
     33warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     34endif()
Note: See TracChangeset for help on using the changeset viewer.