Changeset 107 in flair-src for trunk/tools


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

m

Location:
trunk/tools
Files:
4 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()
  • trunk/tools/Dbt2csv/CMakeLists.txt

    r45 r107  
    22cmake_minimum_required(VERSION 2.8)
    33include($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")
    46
    57SET(PROJECT_SOURCE_FILES
     
    4749
    4850SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     51
     52else()
     53warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     54endif()
  • trunk/tools/FlairGCS/CMakeLists.txt

    r88 r107  
    22cmake_minimum_required(VERSION 2.8)
    33include($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")
    46
    57execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
     
    8587
    8688SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     89
     90else()
     91warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     92endif()
Note: See TracChangeset for help on using the changeset viewer.