QwAnalysis
3.2.0-rc2/CompilerIdCXX/CMakeCXXCompilerId.cpp File Reference

Go to the source code of this file.

Macros

#define COMPILER_ID   ""
 
#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 "]"
 

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))

Definition at line 404 of file 3.2.0-rc2/CompilerIdCXX/CMakeCXXCompilerId.cpp.

#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))

Definition at line 415 of file 3.2.0-rc2/CompilerIdCXX/CMakeCXXCompilerId.cpp.

#define PLATFORM_ID   ""

Function Documentation

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

Definition at line 473 of file 3.2.0-rc2/CompilerIdCXX/CMakeCXXCompilerId.cpp.

References info_compiler, and info_platform.

474 {
475  int require = 0;
476  require += info_compiler[argc];
477  require += info_platform[argc];
478 #ifdef COMPILER_VERSION_MAJOR
479  require += info_version[argc];
480 #endif
481 #ifdef SIMULATE_ID
482  require += info_simulate[argc];
483 #endif
484 #ifdef SIMULATE_VERSION_MAJOR
485  require += info_simulate_version[argc];
486 #endif
487  (void)argv;
488  return require;
489 }
char const * info_compiler
char const * info_platform

Variable Documentation

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