summaryrefslogtreecommitdiffhomepage
path: root/ReadMe.md
blob: eb319b6f65ce2867463a994b510d1fa6e17d2591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# NeBuild

![CI](https://github.com/nekernel-org/nebuild/actions/workflows/c-cpp.yml/badge.svg)
[![License: GPL-3.0](https://img.shields.io/badge/license-BSD--3.0-blue.svg)](LICENSE)

## Requirements:

- GNU C++
- GNU Make

## Guide (GNU Make):

- Run make `build-nebuild-core` and `build-nebuild`.

## Guide (NeBuild):

- Run `nebuild` and pass the path to the manifest file.

## Guide (CMake):

```zsh
# out-of-source configure + build (POSIX)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target nebuild

# or build the provided custom target
cmake --build build --target build-nebuild

# produce a Windows-style executable name on non-Windows hosts:
cmake -S . -B build -DBUILD_WINDOWS=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build --target nebuild
```

###### Copyright (C) 2024-2025, Amlal El Mahrouss and NeKernel.org Authors, licensed under the BSD 3 Clause license.