Rename BaseModule to Module

This commit is contained in:
IlushaShurupov 2023-06-29 19:20:58 +03:00
parent 479c3fa667
commit 47a7809398
18 changed files with 10 additions and 8 deletions

View file

@ -0,0 +1,21 @@
#include "Environment.hpp"
#include <iostream>
const char* ArchString[] = { "UNDEF", "INTEL", "ARM" };
const char* BuildTypeString[] = { "UNDEF", "DEBUG", "RELEASE" };
const char* ToolchainString[] = { "UNDEF", "GNU", "LLVM", "MSVC" };
const char* OSString[] = { "UNDEF", "LINUX", "WINDOWS", "ANDROID", "IOS" };
const char* ArchWidthString[] = { "UNDEF", "X64", "X32" };
const tp::Environment tp::gEnvironment;
void tp::Environment::log() const {
std::cout << "ARCH : " << ArchString[(int)mArch] << "\n";
std::cout << "WIDTH : " << ArchWidthString[(int)mWidth] << "\n";
std::cout << "CURRENT OS : " << OSString[(int)mOS] << "\n";
std::cout << "TOOLCHAIN : " << ToolchainString[(int)mToolchain] << "\n";
std::cout << "BUILD TYPE : " << BuildTypeString[(int)mBuildType] << "\n";
}