Changeset 268 in flair-src for trunk/lib/FlairMeta/src


Ignore:
Timestamp:
10/04/18 13:49:49 (4 years ago)
Author:
Sanahuja Guillaume
Message:

add defines for architectures to speed up compile time

Location:
trunk/lib/FlairMeta/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/HdsX8.cpp

    r186 r268  
    1515//
    1616/*********************************************************************/
     17#ifdef ARMV7A
    1718
    1819#include "HdsX8.h"
     
    7677} // end namespace meta
    7778} // end namespace flair
     79
     80#endif
  • trunk/lib/FlairMeta/src/SimuX4.cpp

    r261 r268  
    1515//
    1616/*********************************************************************/
     17#ifdef CORE2_64
    1718
    1819#include "SimuX4.h"
     
    102103} // end namespace meta
    103104} // end namespace flair
     105
     106#endif
  • trunk/lib/FlairMeta/src/SimuX8.cpp

    r245 r268  
    1515//
    1616/*********************************************************************/
     17#ifdef CORE2_64
    1718
    1819#include "SimuX8.h"
     
    102103} // end namespace meta
    103104} // end namespace flair
     105
     106#endif
  • trunk/lib/FlairMeta/src/UavFactory.cpp

    r157 r268  
    5757  }
    5858
     59#ifdef ARMV7A
    5960  if (type == "hds_x4") {
    6061    getFrameworkManager()->Err("UAV type %s not yet implemented\n", type.c_str());
     
    6768    getFrameworkManager()->Err("UAV type %s not yet implemented\n", type.c_str());
    6869    return NULL;
    69   } else if (type.compare(0, 7, "x4_simu") == 0) {
     70  } else {
     71    getFrameworkManager()->Err("UAV type %s unknown\n", type.c_str());
     72    return NULL;
     73  }
     74#endif
     75#ifdef CORE2_64
     76  if (type.compare(0, 7, "x4_simu") == 0) {
    7077    int simu_id = 0;
    7178    if (type.size() > 7) {
     
    8390    return NULL;
    8491  }
     92#endif
    8593}
    8694
  • trunk/lib/FlairMeta/src/XAir.cpp

    r157 r268  
    1515//
    1616/*********************************************************************/
     17#ifdef ARMV7A
    1718
    1819#include "XAir.h"
     
    7273} // end namespace meta
    7374} // end namespace flair
     75
     76#endif
Note: See TracChangeset for help on using the changeset viewer.