Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
libnebuild.cc
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
7
8int main(int argc, char** argv) {
9#ifndef _WIN32
10 constexpr auto path = "./posix.json";
11#else
12 constexpr auto path = ".\\win64.json";
13#endif
14
15 BldKit::JSONManifestBuilder builder;
17
18 config.path_ = path;
19 config.dry_run_ = false;
20
21 return builder.BuildTarget(config);
22}
#define main
JSON manifest builder header file.
A TOML path.
Definition path.hpp:209
std::string path_
Definition Config.h:40