]> Dogcows Code - chaz/yoink/blob - src/stlplus/portability/build.hpp
fixed documentation about where to find licenses
[chaz/yoink] / src / stlplus / portability / build.hpp
1 #ifndef STLPLUS_BUILD
2 #define STLPLUS_BUILD
3 ////////////////////////////////////////////////////////////////////////////////
4
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
9
10 // Provides a printable representation of the build characteristics in the form:
11
12 // version, platform, compiler, variant
13
14 // Where
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
19
20 // Example:
21 // STLplus version 3.0, Generic Unix, gcc v3.4, debug
22
23 ////////////////////////////////////////////////////////////////////////////////
24 #include "portability_fixes.hpp"
25 #include <string>
26
27 namespace stlplus
28 {
29
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);
32
33 // platform is the target operating system in the form "Windows" or "Generic Unix"
34 std::string platform(void);
35
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);
42
43 // variant is the kind of build - "debug" or "release"
44 std::string variant(void);
45
46 // build is all of the above combined into a human-readable string
47 std::string build(void);
48
49 }
50 ////////////////////////////////////////////////////////////////////////////////
51 #endif
This page took 0.038707 seconds and 5 git commands to generate.