X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fportability%2Fbuild.hpp;h=071bc6544f7b9a2fe331ad1dc8ce79685f5eed14;hp=b105f19b1827123c51432fffbebac6cf3ac37dff;hb=4f6e4488a55f7e3ba3f7485d78177f793c0eab9a;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/stlplus/portability/build.hpp b/src/stlplus/portability/build.hpp index b105f19..071bc65 100644 --- a/src/stlplus/portability/build.hpp +++ b/src/stlplus/portability/build.hpp @@ -4,7 +4,7 @@ // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 +// (c) Andy Rushton 2004 onwards // License: BSD License, see ../docs/license.html // Provides a printable representation of the build characteristics in the form: @@ -27,6 +27,23 @@ namespace stlplus { + // STLplus version in the form "STLplus version 3.0" - see version.hpp for a way of getting just the version number + std::string stlplus_version(void); + + // platform is the target operating system in the form "Windows" or "Generic Unix" + std::string platform(void); + + // compiler_name is the short name of the compiler, e.g. "gcc" or "MSVC" + std::string compiler_name(void); + // compiler_version is the version string of the compiler e.g. "3.4" for gcc or "15.00" for MSVC + std::string compiler_version(void); + // compiler is the compilation system and version above combined into a human- readable form e.g. "gcc v3.4" + std::string compiler(void); + + // variant is the kind of build - "debug" or "release" + std::string variant(void); + + // build is all of the above combined into a human-readable string std::string build(void); }