diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-24 09:15:17 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-24 09:15:17 +0100 |
| commit | a3ea256d00e5aac45574c7c8b076b60630f73a95 (patch) | |
| tree | d639c686922140ee0465b27964ce4d2b854b68b7 /dev/BuildKit/Macros.h | |
| parent | bb11d32131e786b40550375005b12bcb31cf25d7 (diff) | |
feat! refactor! Breaking changes of the NeBuild system.
Working on a TOML backend, refactored source code namespace. And add 'toml++' vendor library.
See commit details.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/BuildKit/Macros.h')
| -rw-r--r-- | dev/BuildKit/Macros.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dev/BuildKit/Macros.h b/dev/BuildKit/Macros.h deleted file mode 100644 index 98bf891..0000000 --- a/dev/BuildKit/Macros.h +++ /dev/null @@ -1,34 +0,0 @@ -// ============================================================= // -// nebuild -// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved. -// ============================================================= // - -#pragma once - -extern "C" { -#include <assert.h> -} - -#include <rang.h> - -#define LIKELY(ARG) ((ARG) ? assert(false) : ((void) 0)) -#define UNLIKELY(ARG) LIKELY(!(ARG)) - -#define LIBNEBUILD_VERSION "v0.0.1-libNeBuild" - -#define LIBNEBUILD_VERSION_BCD 0x0001 - -#define LIBNEBUILD_VERSION_MAJOR 1 -#define LIBNEBUILD_VERSION_MINOR 1 -#define LIBNEBUILD_VERSION_PATCH 0 - -#define LIBNEBUILD_UNUSED(X) ((void) X) - -namespace BTB::Logger { -/// @brief replacement for std::cout for BTB logging. -inline std::ostream& info() noexcept { - auto& out = std::cout; - out << rang::fg::red << "nebuild: " << rang::style::reset; - return out; -} -} // namespace BTB::Logger |
