]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/portability/build.hpp
import stlplus 3.7
[chaz/yoink] / src / stlplus / portability / build.hpp
index a648beb2129fa6ad0f9f55bcd052220bb7a4f9d2..071bc6544f7b9a2fe331ad1dc8ce79685f5eed14 100644 (file)
@@ -1,34 +1,51 @@
-#ifndef STLPLUS_BUILD
-#define STLPLUS_BUILD
-////////////////////////////////////////////////////////////////////////////////
-
-//   Author:    Andy Rushton
-//   Copyright: (c) Southampton University 1999-2004
-//              (c) Andy Rushton           2004-2009
-//   License:   BSD License, see ../docs/license.html
-
-//   Provides a printable representation of the build characteristics in the form:
-
-//     version, platform, compiler, variant
-
-//   Where
-//     version is the version of STLplus
-//     platform is the target operating system
-//     compiler is the compilation system and version that the function was compiled with
-//     variant is the kind of build - debug or release
-
-//   Example:
-//     STLplus version 3.0, Generic Unix, gcc v3.4, debug
-
-////////////////////////////////////////////////////////////////////////////////
-#include "portability_fixes.hpp"
-#include <string>
-
-namespace stlplus
-{
-
-  std::string build(void);
-
-}
-////////////////////////////////////////////////////////////////////////////////
-#endif
+#ifndef STLPLUS_BUILD\r
+#define STLPLUS_BUILD\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+//   Author:    Andy Rushton\r
+//   Copyright: (c) Southampton University 1999-2004\r
+//              (c) Andy Rushton           2004 onwards\r
+//   License:   BSD License, see ../docs/license.html\r
+\r
+//   Provides a printable representation of the build characteristics in the form:\r
+\r
+//     version, platform, compiler, variant\r
+\r
+//   Where\r
+//     version is the version of STLplus\r
+//     platform is the target operating system\r
+//     compiler is the compilation system and version that the function was compiled with\r
+//     variant is the kind of build - debug or release\r
+\r
+//   Example:\r
+//     STLplus version 3.0, Generic Unix, gcc v3.4, debug\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "portability_fixes.hpp"\r
+#include <string>\r
+\r
+namespace stlplus\r
+{\r
+\r
+  // STLplus version in the form "STLplus version 3.0" - see version.hpp for a way of getting just the version number\r
+  std::string stlplus_version(void);\r
+\r
+  // platform is the target operating system in the form "Windows" or "Generic Unix"\r
+  std::string platform(void);\r
+\r
+  // compiler_name is the short name of the compiler, e.g. "gcc" or "MSVC"\r
+  std::string compiler_name(void);\r
+  // compiler_version is the version string of the compiler e.g. "3.4" for gcc or "15.00" for MSVC\r
+  std::string compiler_version(void);\r
+  // compiler is the compilation system and version above combined into a human- readable form e.g. "gcc v3.4"\r
+  std::string compiler(void);\r
+\r
+  // variant is the kind of build - "debug" or "release"\r
+  std::string variant(void);\r
+\r
+  // build is all of the above combined into a human-readable string\r
+  std::string build(void);\r
+\r
+}\r
+////////////////////////////////////////////////////////////////////////////////\r
+#endif\r
This page took 0.02321 seconds and 4 git commands to generate.