]>
Dogcows Code - chaz/yoink/blob - src/stlplus/portability/build.hpp
3 ////////////////////////////////////////////////////////////////////////////////
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004 onwards
8 // License: BSD License, see ../docs/license.html
10 // Provides a printable representation of the build characteristics in the form:
12 // version, platform, compiler, variant
15 // version is the version of STLplus
16 // platform is the target operating system
17 // compiler is the compilation system and version that the function was compiled with
18 // variant is the kind of build - debug or release
21 // STLplus version 3.0, Generic Unix, gcc v3.4, debug
23 ////////////////////////////////////////////////////////////////////////////////
24 #include "portability_fixes.hpp"
30 // STLplus version in the form "STLplus version 3.0" - see version.hpp for a way of getting just the version number
31 std::string
stlplus_version(void);
33 // platform is the target operating system in the form "Windows" or "Generic Unix"
34 std::string
platform(void);
36 // compiler_name is the short name of the compiler, e.g. "gcc" or "MSVC"
37 std::string
compiler_name(void);
38 // compiler_version is the version string of the compiler e.g. "3.4" for gcc or "15.00" for MSVC
39 std::string
compiler_version(void);
40 // compiler is the compilation system and version above combined into a human- readable form e.g. "gcc v3.4"
41 std::string
compiler(void);
43 // variant is the kind of build - "debug" or "release"
44 std::string
variant(void);
46 // build is all of the above combined into a human-readable string
47 std::string
build(void);
50 ////////////////////////////////////////////////////////////////////////////////
This page took 0.038707 seconds and 5 git commands to generate.