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

Function getBuildPlatform

Tests/SCBuildTest/SCBuildFixtureTest.cpp:56–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54static constexpr size_t SmallFixtureMaxBytesWindows = 256 * 1024;
55
56static Build::Platform::Type getBuildPlatform()
57{
58 switch (HostPlatform)
59 {
60 case SC::Platform::Apple: return Build::Platform::Apple;
61 case SC::Platform::Linux: return Build::Platform::Linux;
62 case SC::Platform::Windows: return Build::Platform::Windows;
63 case SC::Platform::Emscripten: return Build::Platform::Wasm;
64 }
65 Assert::unreachable();
66}
67
68static Build::Architecture::Type getBuildArchitecture()
69{

Callers 1

makeNativeCompileActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected