로딩중...
검색중...
일치하는것 없음
by::buildFeature 클래스 참조

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.

Usage

// Or directly use macros:
#ifdef BY_BUILD_PLATFORM_IS_WINDOWS
...
nbool unlimitCoreDump()
Enables unlimited core dump size for debugging
Definition platformAPI.cpp:302
static constexpr nbool isDbg()
Checks if this is a debug build
Definition buildFeature.hpp:144
Rich logging support with polymorphic type conversion
Definition richLog.hpp:34
Remarks
Never manually modify values All values are automatically generated by CMake during build process.
Platform-specific code should stay in indep module According to byeol's architecture, platform-specific code must reside only in the indep module. It is not recommended to use conditional compilation with OS #ifdef or buildFeature::platform::getName() in modules above indep.

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: