|
| | ~FirmwareBuilderBase () override=default |
| void | Cancel () override |
| | Cancels the current operation.
|
| bool | IsBuilding () const override |
| BuildState | GetState () const override |
| BuildProgress | GetProgress () const override |
| void | SetBuildOptions (const BuildOptions &options) override |
| const BuildOptions & | GetBuildOptions () const override |
| void | SetPlatformConfig (const PlatformConfig &config) override |
| | Sets the platform's hardware configuration (display, memory, etc.).
|
| void | ClearPlatformConfig () override |
| void | SetPackageDefines (const std::vector< std::string > &defines) override |
| | Sets the package defines, found by scanning the scenes.
|
| std::string | GetEnginePath (const std::string &projectPath) const override |
| | The engine path for a project.
|
| std::string | GetPlatformKey () const override |
| | Platform key for resolving dependencies in package.json / .deki-package.json.
|
| bool | IsPackageCompatible (const std::string &metadataPath) const override |
| | Whether a package works with this builder, from the dependencies in its metadata file (package.json or .deki-package.json).
|
| std::vector< std::string > | GetPackageSupportedPlatforms (const std::string &metadataPath) const override |
| | The platform keys a package's metadata file lists under dependencies, with "default" reported as "all".
|
| std::vector< ToolchainComponent > | GetToolchainComponents () const override |
| | The toolchain's components and their status.
|
| void | InstallToolchainComponent (const std::string &componentId, BuildProgressCallback cb=nullptr) override |
| | Installs or reinstalls one toolchain component.
|
| void | SetupToolchainComponent (const std::string &componentId, BuildProgressCallback cb=nullptr) override |
| | Runs the postInstall setup script of an installed component.
|
| void | CheckForToolchainUpdates (std::function< void()> onComplete=nullptr) override |
| | Checks for toolchain updates asynchronously and calls onComplete when done.
|
| bool | IsToolchainBusy () const override |
| | Whether a toolchain install or update check is in progress.
|
| virtual | ~ITargetBuilder ()=default |
| virtual void | Build (const std::string &projectPath, BuildOutputCallback outputCallback=nullptr, BuildProgressCallback progressCallback=nullptr)=0 |
| | Builds firmware for the project.
|
| virtual void | Clean (const std::string &projectPath, BuildOutputCallback outputCallback=nullptr, BuildProgressCallback progressCallback=nullptr)=0 |
| | Cleans the build directory.
|
| virtual bool | SupportsDeploy () const =0 |
| | Whether this target has a deploy step at all.
|
| virtual const char * | GetDeployLabel () const |
| | The verb for the button and the log: "Flash", "Run", "Install".
|
| virtual std::vector< DeployTarget > | EnumerateDeployTargets () const |
| | What a deploy can be aimed at right now: serial ports, devkits on the network, paired devices.
|
| virtual void | Deploy (const std::string &projectPath, const std::string &deployTargetId, BuildOutputCallback outputCallback=nullptr, BuildProgressCallback progressCallback=nullptr) |
| | Deploys the last build.
|
| virtual bool | IsToolchainInstalled () const =0 |
| | True when the required toolchain is installed.
|
| virtual std::string | GetToolchainStatus () const =0 |
| | The toolchain's status, as text for the user.
|
| virtual bool | GenerateBuildFiles (const std::string &projectPath, const PlatformConfig &config, const std::vector< std::string > &packageDefines)=0 |
| | Generates the build files (CMakeLists.txt, etc.) for config, in the builder's own project structure.
|
| virtual std::unique_ptr< IPlatformEditorUI > | CreateEditorUI (const PlatformConfig &config) const |
| | Creates this builder's settings UI for the platform editor, or nullptr if it has none.
|
| virtual const char * | GetName () const =0 |
| | The backend's name, for the user.
|
| virtual std::vector< std::pair< std::string, std::string > > | DescribePlatform (const PlatformConfig &config) const |
| | What the Build panel shows about a platform aimed at this backend, as label/value rows: a chip and its memory, a devkit model, or nothing.
|
| virtual std::vector< std::string > | ValidatePlatform (const PlatformConfig &config) const |
| | Problems with a platform aimed at this builder; empty when it is fine.
|
| virtual std::string | GetFrameworkId () const =0 |
| | The build framework this backend serves, as a lowercase id.
|
| virtual const char * | GetIcon () const |
| | Optional self-description for the platform editor's builder picker, so a third-party builder is not anonymous in the UI.
|
| virtual const char * | GetDescription () const |
| virtual std::string | GetBuildDirectory (const std::string &projectPath) const =0 |
| | The builder's build directory for a project.
|
| virtual bool | SupportsSimulation () const |
| | Whether this backend can build a platform's firmware for a simulator (BuildOptions::simulate).
|
| virtual const char * | GetSimulatorName () const |
| | The simulator's name, for the UI and the log: "QEMU".
|
| virtual bool | MakeSimulationBootScene (std::string &scene, const PlatformConfig &config, std::vector< std::string > ¬es, std::string &error) const |
| | Makes the simulated build's boot scene.
|
| virtual std::string | GetBootPayloadDirectory (const std::string &projectPath) const =0 |
| | Where the editor writes the boot payload before Build(): the compiled project settings (dproject.bin) and the platform's boot scene.
|