WindowsConfig class final
Windows configuration for DcbCMakeBuilder.
- Inheritance
-
- Object
- DcbPlatformConfig
- WindowsConfig
Constructors
-
WindowsConfig({String cmake = 'cmake', bool dynamicCrt = true, bool bundleCrt = true, String? vsInstallPath, String architecture = 'x64', CmakeGenerator? generator, String? generatorPath, List<
String> extraDefines = const []}) -
const
Properties
- architecture → String
-
Target architecture passed to CMake (
-A).final - bundleCrt → bool
-
Whether to bundle the correct CRT DLLs next to the output library.
final
- cmake → String
-
The CMake executable to invoke (resolved via
PATHby default).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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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