Rizin
unix-like reverse engineering framework and cli tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Friends Macros Modules Pages
CMakeCCompilerId.c File Reference

Go to the source code of this file.

Macros

#define __has_include(x)   0
 
#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_VERSION
 

Functions

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

Variables

char constinfo_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"
 
char constinfo_platform = "INFO" ":" "platform[" PLATFORM_ID "]"
 
char constinfo_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"
 
const char * info_language_standard_default
 
const char * info_language_extensions_default
 

Macro Definition Documentation

◆ __has_include

#define __has_include (   x)    0

Definition at line 17 of file CMakeCCompilerId.c.

◆ ARCHITECTURE_ID

#define ARCHITECTURE_ID

Definition at line 688 of file CMakeCCompilerId.c.

◆ C_VERSION

#define C_VERSION

Definition at line 777 of file CMakeCCompilerId.c.

◆ COMPILER_ID

#define COMPILER_ID   ""

Definition at line 423 of file CMakeCCompilerId.c.

◆ DEC

#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))
int n
Definition: mipsasm.c:19

Definition at line 692 of file CMakeCCompilerId.c.

◆ HEX

#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 703 of file CMakeCCompilerId.c.

◆ PLATFORM_ID

#define PLATFORM_ID

Definition at line 554 of file CMakeCCompilerId.c.

◆ STRINGIFY

#define STRINGIFY (   X)    STRINGIFY_HELPER(X)

Definition at line 444 of file CMakeCCompilerId.c.

◆ STRINGIFY_HELPER

#define STRINGIFY_HELPER (   X)    #X

Definition at line 443 of file CMakeCCompilerId.c.

Function Documentation

◆ main()

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

Definition at line 811 of file CMakeCCompilerId.c.

813 {
814  int require = 0;
815  require += info_compiler[argc];
816  require += info_platform[argc];
817  require += info_arch[argc];
818 #ifdef COMPILER_VERSION_MAJOR
819  require += info_version[argc];
820 #endif
821 #ifdef COMPILER_VERSION_INTERNAL
822  require += info_version_internal[argc];
823 #endif
824 #ifdef SIMULATE_ID
825  require += info_simulate[argc];
826 #endif
827 #ifdef SIMULATE_VERSION_MAJOR
828  require += info_simulate_version[argc];
829 #endif
830 #if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
831  require += info_cray[argc];
832 #endif
833  require += info_language_standard_default[argc];
834  require += info_language_extensions_default[argc];
835  (void)argv;
836  return require;
837 }
const char * info_language_extensions_default
char const * info_platform
const char * info_language_standard_default
char const * info_compiler
char const * info_arch
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40

References argv, info_arch, info_compiler, info_language_extensions_default, info_language_standard_default, and info_platform.

Variable Documentation

◆ info_arch

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

Definition at line 769 of file CMakeCCompilerId.c.

Referenced by main().

◆ info_compiler

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

Definition at line 430 of file CMakeCCompilerId.c.

Referenced by main().

◆ info_language_extensions_default

const char* info_language_extensions_default
Initial value:
= "INFO" ":" "extensions_default["
"OFF"
"]"

Definition at line 793 of file CMakeCCompilerId.c.

Referenced by main().

◆ info_language_standard_default

const char* info_language_standard_default
Initial value:
=
"INFO" ":" "standard_default[" C_VERSION "]"
#define C_VERSION

Definition at line 790 of file CMakeCCompilerId.c.

Referenced by main().

◆ info_platform

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

Definition at line 768 of file CMakeCCompilerId.c.

Referenced by main().