WindowsConfig class final

Windows configuration for DcbCMakeBuilder.

Inheritance

Constructors

WindowsConfig({String cmake = 'cmake', bool dynamicCrt = true, bool bundleCrt = true, String? vsInstallPath, String? architecture, CmakeGenerator? generator, String? generatorPath, List<String> extraDefines = const [], WindowsCompiler compiler = WindowsCompiler.msvc, String? clangClPath, String? msys2Path, bool staticRuntime = true})
const

Properties

architecture String
Effective Windows architecture ('x64' or 'arm64').
no setter
bundleCrt bool
Whether to bundle the correct CRT DLLs next to the output library.
final
clangClPath String?
Explicit path to clang-cl.exe (e.g. r'C:\LLVM\bin\clang-cl.exe').
final
cmake String
The CMake executable to invoke (resolved via PATH by default).
final
compiler WindowsCompiler
C++ compiler selection.
final
dynamicCrt bool
Whether to link the MSVC C runtime dynamically (/MD).
final
extraDefines List<String>
Extra definitions passed verbatim to the CMake configure step, e.g. ['-DCMAKE_PREFIX_PATH=C:/vcpkg'].
final
generator CmakeGenerator?
CMake generator selection.
final
generatorPath String?
Explicit path to the generator executable.
final
hashCode int
The hash code for this object.
no setterinherited
msys2Path String?
MSYS2 installation root (e.g. r'D:\msys2'), used only when compiler is WindowsCompiler.msys2Clang or WindowsCompiler.msys2Gcc.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticRuntime bool
Whether to statically link the GNU C++ runtime into the output library for MSYS2 toolchains (WindowsCompiler.msys2Clang / WindowsCompiler.msys2Gcc).
final
vsInstallPath String?
Path to the Visual Studio or Build Tools installation root.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited