QuadroCopter  0.1.4
CMakeCXXCompilerId.cpp File Reference

Macros

#define COMPILER_ID   ""
 
#define STRINGIFY_HELPER(X)   #X
 
#define STRINGIFY(X)   STRINGIFY_HELPER(X)
 
#define PLATFORM_ID
 
#define ARCHITECTURE_ID
 
#define DEC(n)
 
#define HEX(n)
 

Functions

int main (int argc, char *argv[])
 

Variables

char const * info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char const * info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char const * info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_dialect_default
 

Macro Definition Documentation

#define ARCHITECTURE_ID
#define COMPILER_ID   ""
#define DEC (   n)
Value:
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
#define HEX (   n)
Value:
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
#define PLATFORM_ID
#define STRINGIFY (   X)    STRINGIFY_HELPER(X)
#define STRINGIFY_HELPER (   X)    #X

Function Documentation

int main ( int  argc,
char *  argv[] 
)
514 {
515  int require = 0;
516  require += info_compiler[argc];
517  require += info_platform[argc];
518 #ifdef COMPILER_VERSION_MAJOR
519  require += info_version[argc];
520 #endif
521 #ifdef SIMULATE_ID
522  require += info_simulate[argc];
523 #endif
524 #ifdef SIMULATE_VERSION_MAJOR
525  require += info_simulate_version[argc];
526 #endif
527 #if defined(__CRAYXE) || defined(__CRAYXC)
528  require += info_cray[argc];
529 #endif
530  require += info_language_dialect_default[argc];
531  (void)argv;
532  return require;
533 }
char const * info_platform
Definition: CMakeCXXCompilerId.cpp:495
char const * info_compiler
Definition: CMakeCXXCompilerId.cpp:270
const char * info_language_dialect_default
Definition: CMakeCXXCompilerId.cpp:501

Variable Documentation

char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
const char* info_language_dialect_default
Initial value:
= "INFO" ":" "dialect_default["
"98"
"]"
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"