From b21246fbf4b082e21f811d488bd85e8dafdee428 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 18 Nov 2025 08:45:58 +0100 Subject: feat: CMake file, new entries to gitignore, and code under BSD-3 now. Signed-off-by: Amlal El Mahrouss --- ReadMe.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ReadMe.md') diff --git a/ReadMe.md b/ReadMe.md index 8516959..eb319b6 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -16,4 +16,19 @@ - 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. -- cgit v1.2.3