AutoPas  3.0.0
Loading...
Searching...
No Matches
Functions
autopas::utils::CompileInfo Namespace Reference

Namespace for functions that provide information about what the code was compiled with. More...

Functions

std::string getCompilerInfo ()
 Get name and version number of a list of known compilers.
 

Detailed Description

Namespace for functions that provide information about what the code was compiled with.

Function Documentation

◆ getCompilerInfo()

std::string autopas::utils::CompileInfo::getCompilerInfo ( )

Get name and version number of a list of known compilers.

Currently known compilers:

  • clang
  • gcc
  • icpc
  • icpx
  • fcc (trad and clang mode)
    Returns
    String : "Name Version.Number"