QuadroCopter  0.1.4
CMakeCCompilerId.c 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)
 
#define C_DIALECT
 

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 C_DIALECT
#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[] 
)
540 {
541  int require = 0;
542  require += info_compiler[argc];
543  require += info_platform[argc];
544  require += info_arch[argc];
545 #ifdef COMPILER_VERSION_MAJOR
546  require += info_version[argc];
547 #endif
548 #ifdef SIMULATE_ID
549  require += info_simulate[argc];
550 #endif
551 #ifdef SIMULATE_VERSION_MAJOR
552  require += info_simulate_version[argc];
553 #endif
554 #if defined(__CRAYXE) || defined(__CRAYXC)
555  require += info_cray[argc];
556 #endif
557  require += info_language_dialect_default[argc];
558  (void)argv;
559  return require;
560 }
char const * info_arch
Definition: CMakeCCompilerId.c:509
const char * info_language_dialect_default
Definition: CMakeCCompilerId.c:527
char const * info_platform
Definition: CMakeCCompilerId.c:508
char const * info_compiler
Definition: CMakeCCompilerId.c:283

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[" C_DIALECT "]"
#define C_DIALECT
Definition: CMakeCCompilerId.c:518
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"