|
dodo
0.0.1
A C++ library to create containerized Linux services
|
Build information, generated by cmake during builds from buildenv.hpp.in. More...
#include <buildenv.hpp>
Public Types | |
| enum | cppStandard { stUnknown, stPreCpp11, stCpp11, stCpp14, stCpp17 } |
| C++ standard enum. More... | |
Static Public Member Functions | |
| static std::string | getBinaryDirectory () |
| In very rare cases (examples requiring artefacts build in source checkouts), this is usefull. More... | |
| static std::string | getBuildDate () |
| Get the build date. More... | |
| static std::string | getBuildSystem () |
| Get the compiler host. More... | |
| static std::string | getBuildTarget () |
| Get the build target / architecture. More... | |
| static std::string | getBuildTime () |
| Get the build time. More... | |
| static std::string | getCMakeBuildType () |
| Get the build type. More... | |
| static std::string | getCMakeVersion () |
| Get the cmake version. More... | |
| static std::string | getCompilerId () |
| Get the C++ compiler id, see https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html. More... | |
| static std::string | getCompilerVersion () |
| Get the compiler version. More... | |
| static cppStandard | getCppStandard () |
| Get the C++ standard in effect during compiling. More... | |
| static std::string | getCppStandardString () |
| Get the C++ standard in effect during compiling as a string. More... | |
| static std::string | getDescription () |
| Get a description of the build environment. More... | |
| static std::string | getProjectName () |
| Get the project name. More... | |
| static std::string | getProjectVersion () |
| Get the project version. More... | |
| static int | getProjectVersionMajor () |
| Get the project version major. More... | |
| static int | getProjectVersionMinor () |
| Get the project version minor. More... | |
| static int | getProjectVersionPatch () |
| Get the project version patch. More... | |
| static std::string | getSourceDirectory () |
| In rare cases (examples requiring artefacts build in source checkouts), this is usefull. More... | |
Build information, generated by cmake during builds from buildenv.hpp.in.
Definition at line 20 of file buildenv.hpp.
C++ standard enum.
| Enumerator | |
|---|---|
| stUnknown | Unknown C++ standard. |
| stPreCpp11 | Before C++11. |
| stCpp11 | C++ 11. |
| stCpp14 | C++ 14. |
| stCpp17 | C++ 17. |
Definition at line 115 of file buildenv.hpp.
|
inlinestatic |
In very rare cases (examples requiring artefacts build in source checkouts), this is usefull.
Definition at line 110 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the build date.
Definition at line 92 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the compiler host.
Definition at line 38 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the build target / architecture.
Definition at line 44 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the build time.
Definition at line 98 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the build type.
Definition at line 86 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the cmake version.
Definition at line 80 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the C++ compiler id, see https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html.
Definition at line 26 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the compiler version.
Definition at line 32 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the C++ standard in effect during compiling.
Definition at line 142 of file buildenv.hpp.
References stCpp11, stCpp14, stCpp17, stPreCpp11, and stUnknown.
Referenced by getCppStandardString().

|
inlinestatic |
Get the C++ standard in effect during compiling as a string.
Definition at line 127 of file buildenv.hpp.
References getCppStandard(), stCpp11, stCpp14, stCpp17, stPreCpp11, and stUnknown.
Referenced by getDescription().


|
inlinestatic |
Get a description of the build environment.
Definition at line 154 of file buildenv.hpp.
References getBinaryDirectory(), getBuildDate(), getBuildSystem(), getBuildTarget(), getBuildTime(), getCMakeBuildType(), getCMakeVersion(), getCompilerId(), getCompilerVersion(), getCppStandardString(), getProjectName(), getProjectVersion(), and getSourceDirectory().

|
inlinestatic |
Get the project name.
Definition at line 50 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the project version.
Definition at line 56 of file buildenv.hpp.
Referenced by getDescription().

|
inlinestatic |
Get the project version major.
Definition at line 62 of file buildenv.hpp.
|
inlinestatic |
Get the project version minor.
Definition at line 68 of file buildenv.hpp.
|
inlinestatic |
Get the project version patch.
Definition at line 74 of file buildenv.hpp.
|
inlinestatic |
In rare cases (examples requiring artefacts build in source checkouts), this is usefull.
Definition at line 104 of file buildenv.hpp.
Referenced by getDescription().
