# build/platform/windows.py from .base import Platform from ..compiler.msvc import MSVCCompiler from ..config import MSVC_FLAGS, MSVC_TEST_FLAGS class WindowsPlatform(Platform): name = "windows" def compiler(self): return MSVCCompiler() def cflags(self, test: bool = False): return MSVC_TEST_FLAGS if test else MSVC_FLAGS