MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / buildPlatformName

Function buildPlatformName

Tools/SC-build.cpp:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static constexpr StringView buildPlatformName(Platform::Type platform)
87{
88 switch (platform)
89 {
90 case Platform::Apple: return "macOS";
91 case Platform::Linux: return "linux";
92 case Platform::Windows: return "windows";
93 case Platform::Wasm: return "wasm";
94 case Platform::Unknown: return "unknown";
95 }
96 Assert::unreachable();
97}
98
99static constexpr Architecture::Type hostArchitecture()
100{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected