OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
CMakeCXXCompilerId.cpp File Reference

Go to the source code of this file.

Macros

#define __has_include(x)
#define COMPILER_ID   ""
#define STRINGIFY_HELPER(X)
#define STRINGIFY(X)
#define PLATFORM_ID
#define ARCHITECTURE_ID
#define DEC(n)
#define HEX(n)
#define CXX_STD_98   199711L
#define CXX_STD_11   201103L
#define CXX_STD_14   201402L
#define CXX_STD_17   201703L
#define CXX_STD_20   202002L
#define CXX_STD_23   202302L
#define CXX_STD   __cplusplus

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_standard_default
const char * info_language_extensions_default

Macro Definition Documentation

◆ __has_include

#define __has_include ( x)
Value:
0

Definition at line 11 of file CMakeCXXCompilerId.cpp.

◆ ARCHITECTURE_ID

#define ARCHITECTURE_ID

Definition at line 724 of file CMakeCXXCompilerId.cpp.

◆ COMPILER_ID

#define COMPILER_ID   ""

Definition at line 427 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD

#define CXX_STD   __cplusplus

Definition at line 861 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD_11

#define CXX_STD_11   201103L

Definition at line 810 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD_14

#define CXX_STD_14   201402L

Definition at line 811 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD_17

#define CXX_STD_17   201703L

Definition at line 812 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD_20

#define CXX_STD_20   202002L

Definition at line 813 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD_23

#define CXX_STD_23   202302L

Definition at line 814 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD_98

#define CXX_STD_98   199711L

Definition at line 809 of file CMakeCXXCompilerId.cpp.

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

Definition at line 728 of file CMakeCXXCompilerId.cpp.

728#define DEC(n) \
729 ('0' + (((n) / 10000000)%10)), \
730 ('0' + (((n) / 1000000)%10)), \
731 ('0' + (((n) / 100000)%10)), \
732 ('0' + (((n) / 10000)%10)), \
733 ('0' + (((n) / 1000)%10)), \
734 ('0' + (((n) / 100)%10)), \
735 ('0' + (((n) / 10)%10)), \
736 ('0' + ((n) % 10))

◆ 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 739 of file CMakeCXXCompilerId.cpp.

739#define HEX(n) \
740 ('0' + ((n)>>28 & 0xF)), \
741 ('0' + ((n)>>24 & 0xF)), \
742 ('0' + ((n)>>20 & 0xF)), \
743 ('0' + ((n)>>16 & 0xF)), \
744 ('0' + ((n)>>12 & 0xF)), \
745 ('0' + ((n)>>8 & 0xF)), \
746 ('0' + ((n)>>4 & 0xF)), \
747 ('0' + ((n) & 0xF))

◆ PLATFORM_ID

#define PLATFORM_ID

Definition at line 558 of file CMakeCXXCompilerId.cpp.

◆ STRINGIFY

#define STRINGIFY ( X)
Value:
#define STRINGIFY_HELPER(X)

Definition at line 448 of file CMakeCXXCompilerId.cpp.

◆ STRINGIFY_HELPER

#define STRINGIFY_HELPER ( X)
Value:
#X

Definition at line 447 of file CMakeCXXCompilerId.cpp.

Function Documentation

◆ main()

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

Definition at line 894 of file CMakeCXXCompilerId.cpp.

895{
896 int require = 0;
897 require += info_compiler[argc];
898 require += info_platform[argc];
899 require += info_arch[argc];
900#ifdef COMPILER_VERSION_MAJOR
901 require += info_version[argc];
902#endif
903#ifdef COMPILER_VERSION_INTERNAL
904 require += info_version_internal[argc];
905#endif
906#ifdef SIMULATE_ID
907 require += info_simulate[argc];
908#endif
909#ifdef SIMULATE_VERSION_MAJOR
910 require += info_simulate_version[argc];
911#endif
912#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
913 require += info_cray[argc];
914#endif
915 require += info_language_standard_default[argc];
916 require += info_language_extensions_default[argc];
917 (void)argv;
918 return require;
919}
const char * info_language_extensions_default
char const * info_platform
const char * info_language_standard_default
char const * info_compiler
char const * info_arch

Variable Documentation

◆ info_arch

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

Definition at line 805 of file CMakeCXXCompilerId.cpp.

◆ info_compiler

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

Definition at line 434 of file CMakeCXXCompilerId.cpp.

◆ info_language_extensions_default

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

Definition at line 882 of file CMakeCXXCompilerId.cpp.

◆ info_language_standard_default

const char* info_language_standard_default
Initial value:
= "INFO" ":" "standard_default["
"98"
"]"

Definition at line 864 of file CMakeCXXCompilerId.cpp.

◆ info_platform

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

Definition at line 804 of file CMakeCXXCompilerId.cpp.