Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMakeCCompilerId.c 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   ""

Definition at line 405 of file CMakeCCompilerId.c.

#define COMPILER_ID   ""

Definition at line 251 of file CMakeCCompilerId.c.

#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))
const NT & n

Definition at line 409 of file CMakeCCompilerId.c.

#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))
const NT & n

Definition at line 420 of file CMakeCCompilerId.c.

#define PLATFORM_ID   ""

Definition at line 361 of file CMakeCCompilerId.c.

Function Documentation

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

Definition at line 481 of file CMakeCCompilerId.c.

References info_arch, info_compiler, and info_platform.

482 {
483  int require = 0;
484  require += info_compiler[argc];
485  require += info_platform[argc];
486  require += info_arch[argc];
487 #ifdef COMPILER_VERSION_MAJOR
488  require += info_version[argc];
489 #endif
490 #ifdef SIMULATE_ID
491  require += info_simulate[argc];
492 #endif
493 #ifdef SIMULATE_VERSION_MAJOR
494  require += info_simulate_version[argc];
495 #endif
496  (void)argv;
497  return require;
498 }
char const * info_arch
char const * info_compiler
char const * info_platform

Variable Documentation

char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"

Definition at line 471 of file CMakeCCompilerId.c.

Referenced by main().

char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"

Definition at line 258 of file CMakeCCompilerId.c.

Referenced by main().

char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"

Definition at line 470 of file CMakeCCompilerId.c.

Referenced by main().