Add env::COMPILER_BUILD_HASH and env::COMPILER_BUILD_DATE

This commit is contained in:
Christoffer Lerno
2024-09-20 12:29:23 +02:00
parent c25645eab1
commit 8e37e54645
7 changed files with 123 additions and 51 deletions

View File

@@ -115,6 +115,8 @@ enum ArchType
XTENSA, // Xtensa
}
const String COMPILER_BUILD_HASH = $$BUILD_HASH;
const String COMPILER_BUILD_DATE = $$BUILD_DATE;
const OsType OS_TYPE = (OsType)$$OS_TYPE;
const ArchType ARCH_TYPE = (ArchType)$$ARCH_TYPE;
const bool ARCH_32_BIT = $$REGISTER_SIZE == 32;