From 1b5097d5035cb73a4845e914021851bf81186bfb Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 21:15:44 -0500 Subject: chore: NeBuildKit: Architectural improvements over {Defines+Includes}.h Signed-off-by: Amlal El Mahrouss --- ReadMe.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'ReadMe.md') diff --git a/ReadMe.md b/ReadMe.md index eb319b6..bb4d4dc 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -10,25 +10,23 @@ ## Guide (GNU Make): -- Run make `build-nebuild-core` and `build-nebuild`. +- Run make `build-nebuild-core` and `build-nebuild` to build from source. ## Guide (NeBuild): -- Run `nebuild` and pass the path to the manifest file. +- Run `nebuild` and pass the path to the manifest file to build from source: -## Guide (CMake): +```sh +nebuild targets/osx.json +``` -```zsh -# out-of-source configure + build (POSIX) -cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -cmake --build build --target nebuild +## Guide (CMake): -# or build the provided custom target -cmake --build build --target build-nebuild +- Use CMake to build `nebuild` from source: -# 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 +```zsh +cmake -S . -B build +cmake --build build ``` ###### Copyright (C) 2024-2025, Amlal El Mahrouss and NeKernel.org Authors, licensed under the BSD 3 Clause license. -- cgit v1.2.3