Changeset 81 in flair-dev


Ignore:
Timestamp:
Oct 4, 2018, 1:50:03 PM (2 years ago)
Author:
Sanahuja Guillaume
Message:

add defines for architectures to speed up compile time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake-modules/GlobalCmakeFlair.cmake

    r44 r81  
    4242endif()
    4343
     44#add definitions for archs
     45if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv7a-neon")       
     46    ADD_DEFINITIONS(-DARMV7A)
     47endif()
     48
     49if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "armv5te")   
     50    ADD_DEFINITIONS(-DARMV5TE)
     51endif()
     52
     53if("${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE}" MATCHES "core2-64") 
     54    ADD_DEFINITIONS(-DCORE2_64)
     55endif()
     56
    4457#reimplement add executable to add a custom target for delivery (only on ARM)
    4558#delivery are read from ssh config file
Note: See TracChangeset for help on using the changeset viewer.