SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Macros | Functions | Variables
CMakeCXXCompilerId.cpp File Reference

Go to the source code of this file.

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

Macro Definition Documentation

◆ ARCHITECTURE_ID

#define ARCHITECTURE_ID

Definition at line 477 of file CMakeCXXCompilerId.cpp.

◆ COMPILER_ID

#define COMPILER_ID   ""

Definition at line 297 of file CMakeCXXCompilerId.cpp.

◆ CXX_STD

#define CXX_STD   __cplusplus

Definition at line 560 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))

Definition at line 481 of file CMakeCXXCompilerId.cpp.

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

◆ PLATFORM_ID

#define PLATFORM_ID

Definition at line 414 of file CMakeCXXCompilerId.cpp.

◆ STRINGIFY

#define STRINGIFY (   X)    STRINGIFY_HELPER(X)

Definition at line 318 of file CMakeCXXCompilerId.cpp.

◆ STRINGIFY_HELPER

#define STRINGIFY_HELPER (   X)    #X

Definition at line 317 of file CMakeCXXCompilerId.cpp.

Function Documentation

◆ main()

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

Definition at line 579 of file CMakeCXXCompilerId.cpp.

References info_compiler, info_language_dialect_default, and info_platform.

580 {
581  int require = 0;
582  require += info_compiler[argc];
583  require += info_platform[argc];
584 #ifdef COMPILER_VERSION_MAJOR
585  require += info_version[argc];
586 #endif
587 #ifdef COMPILER_VERSION_INTERNAL
588  require += info_version_internal[argc];
589 #endif
590 #ifdef SIMULATE_ID
591  require += info_simulate[argc];
592 #endif
593 #ifdef SIMULATE_VERSION_MAJOR
594  require += info_simulate_version[argc];
595 #endif
596 #if defined(__CRAYXE) || defined(__CRAYXC)
597  require += info_cray[argc];
598 #endif
599  require += info_language_dialect_default[argc];
600  (void)argv;
601  return require;
602 }
char const * info_compiler
const char * info_language_dialect_default
char const * info_platform

Variable Documentation

◆ info_arch

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

Definition at line 552 of file CMakeCXXCompilerId.cpp.

◆ info_compiler

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

Definition at line 304 of file CMakeCXXCompilerId.cpp.

Referenced by main().

◆ info_language_dialect_default

const char* info_language_dialect_default
Initial value:
= "INFO" ":" "dialect_default["
"98"
"]"

Definition at line 563 of file CMakeCXXCompilerId.cpp.

Referenced by main().

◆ info_platform

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

Definition at line 551 of file CMakeCXXCompilerId.cpp.

Referenced by main().