DcbPlatformConfig class sealed

Platform-specific configuration for DcbCMakeBuilder.

A downstream hook/build.dart selects the appropriate subclass from input.config.code.targetOS and passes it to DcbCMakeBuilder:

final config = switch (input.config.code.targetOS) {
  OS.windows => const WindowsConfig(),
  final os => throw UnsupportedError('unsupported target OS: $os'),
};
await DcbCMakeBuilder(config: config, assetName: 'my_package.dart')
    .run(input: input, output: output);
Implementers

Properties

cmake String
The CMake executable to invoke (resolved via PATH by default).
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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