Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
IManifestBuilder.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
3// Licensed under the Apache License, Version 2.0 (see LICENSE file)
4// Official repository: https://github.com/ne-app-eu/bld
5
6#pragma once
7
9#include <string_view>
10
11#define NEBUILD_MANIFEST_BUILDER \
12 final: \
13 public \
14 ::BldKit::IManifestBuilder
15
16namespace BldKit {
17
23 public:
24 IManifestBuilder() = default;
25 virtual ~IManifestBuilder() = default;
26
29
36 virtual bool BuildTarget(BuildConfig& config) { return false; }
37
41 virtual const std::string_view BuildSystem() { return "(null)"; }
42};
43
44} // namespace BldKit
Builder interface class.
virtual bool BuildTarget(BuildConfig &config)
Builds a TOML target from a file.
IManifestBuilder & operator=(const IManifestBuilder &)=delete
virtual ~IManifestBuilder()=default
IManifestBuilder(const IManifestBuilder &)=delete
virtual const std::string_view BuildSystem()
Returns the build system name. =========================================================== ///.