Provides build-time information and feature detection 더 자세히 ...
#include <buildFeature.hpp>
클래스 | |
| struct | config |
| Build configuration information 더 자세히 ... | |
| struct | date |
| Build date information 더 자세히 ... | |
| struct | platform |
| Platform information 더 자세히 ... | |
| struct | time |
| Build time information 더 자세히 ... | |
| struct | version |
| Version information 더 자세히 ... | |
Public 타입 | |
| enum | platformType { PLATFORM_TYPE_START = -1 , WINDOW , LINUX , MACOS , OTHERS , PLATFORM_TYPE_END } |
| enum | buildType { BUILD_TYPE_START = -1 , DEBUG , RELEASE , BUILD_TYPE_END } |
Provides build-time information and feature detection
Returns information defined in buildInformation.hpp, which is automatically generated by CMake. Contains build date/time, version, build OS, and binary type information.
The original values are defined as #define macros in buildInformation.hpp, so they can be used directly if needed. They are also frequently used in #ifdef conditionals.
indep module. It is not recommended to use conditional compilation with OS #ifdef or buildFeature::platform::getName() in modules above indep.