From 877de2b648ae76fa150f75269a23b8ec7476ca5f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 22 Feb 2026 06:22:26 +0100 Subject: chore: .cc to .cpp conversion, define CK_POSIX in frontends, new driver system for Nectar/C++ frontend. Signed-off-by: Amlal El Mahrouss --- src/CommandLine/cppdrv.cc | 22 --------------------- src/CommandLine/cppdrv.cpp | 22 +++++++++++++++++++++ src/CommandLine/cppdrv.json | 2 +- src/CommandLine/dbg.cc | 17 ---------------- src/CommandLine/dbg.cpp | 17 ++++++++++++++++ src/CommandLine/dbg.json | 2 +- src/CommandLine/kdbg.cc | 17 ---------------- src/CommandLine/kdbg.cpp | 17 ++++++++++++++++ src/CommandLine/kdbg.json | 2 +- src/CommandLine/ld64-osx.json | 2 +- src/CommandLine/ld64-posix.json | 2 +- src/CommandLine/ld64.cc | 15 -------------- src/CommandLine/ld64.cpp | 15 ++++++++++++++ src/CommandLine/mld64-osx.json | 2 +- src/CommandLine/mld64-posix.json | 2 +- src/CommandLine/mld64.cc | 15 -------------- src/CommandLine/mld64.cpp | 15 ++++++++++++++ src/CommandLine/pef-amd64-asm.cc | 37 ----------------------------------- src/CommandLine/pef-amd64-asm.cpp | 37 +++++++++++++++++++++++++++++++++++ src/CommandLine/pef-amd64-asm.json | 3 ++- src/CommandLine/pef-amd64-drv.cpp | 37 +++++++++++++++++++++++++++++++++++ src/CommandLine/pef-amd64-drv.json | 21 ++++++++++++++++++++ src/CommandLine/pef-amd64-necdrv.cc | 37 ----------------------------------- src/CommandLine/pef-amd64-necdrv.json | 20 ------------------- 24 files changed, 190 insertions(+), 188 deletions(-) delete mode 100644 src/CommandLine/cppdrv.cc create mode 100644 src/CommandLine/cppdrv.cpp delete mode 100644 src/CommandLine/dbg.cc create mode 100644 src/CommandLine/dbg.cpp delete mode 100644 src/CommandLine/kdbg.cc create mode 100644 src/CommandLine/kdbg.cpp delete mode 100644 src/CommandLine/ld64.cc create mode 100644 src/CommandLine/ld64.cpp delete mode 100644 src/CommandLine/mld64.cc create mode 100644 src/CommandLine/mld64.cpp delete mode 100644 src/CommandLine/pef-amd64-asm.cc create mode 100644 src/CommandLine/pef-amd64-asm.cpp create mode 100644 src/CommandLine/pef-amd64-drv.cpp create mode 100644 src/CommandLine/pef-amd64-drv.json delete mode 100644 src/CommandLine/pef-amd64-necdrv.cc delete mode 100644 src/CommandLine/pef-amd64-necdrv.json (limited to 'src/CommandLine') diff --git a/src/CommandLine/cppdrv.cc b/src/CommandLine/cppdrv.cc deleted file mode 100644 index 6977923..0000000 --- a/src/CommandLine/cppdrv.cc +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -/// @file cppdrv.cc -/// @brief Nectar frontend preprocessor. - -#include -#include - -CK_IMPORT_C int GenericPreprocessorMain(int argc, char const* argv[]); - -int main(int argc, char const* argv[]) { - if (auto code = GenericPreprocessorMain(argc, argv); code > 0) { - std::printf("cppdrv: preprocessor exited with code %i.\n", code); - - return NECTAR_EXEC_ERROR; - } - - return NECTAR_SUCCESS; -} diff --git a/src/CommandLine/cppdrv.cpp b/src/CommandLine/cppdrv.cpp new file mode 100644 index 0000000..6977923 --- /dev/null +++ b/src/CommandLine/cppdrv.cpp @@ -0,0 +1,22 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +/// @file cppdrv.cc +/// @brief Nectar frontend preprocessor. + +#include +#include + +CK_IMPORT_C int GenericPreprocessorMain(int argc, char const* argv[]); + +int main(int argc, char const* argv[]) { + if (auto code = GenericPreprocessorMain(argc, argv); code > 0) { + std::printf("cppdrv: preprocessor exited with code %i.\n", code); + + return NECTAR_EXEC_ERROR; + } + + return NECTAR_SUCCESS; +} diff --git a/src/CommandLine/cppdrv.json b/src/CommandLine/cppdrv.json index 3fa222e..7c8cbe2 100644 --- a/src/CommandLine/cppdrv.json +++ b/src/CommandLine/cppdrv.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"], - "sources_path": ["cppdrv.cc"], + "sources_path": ["cppdrv.cpp"], "output_name": "cppdrv", "compiler_flags": ["-L/usr/local/lib", "-lCompilerKit"], "cpp_macros": [ diff --git a/src/CommandLine/dbg.cc b/src/CommandLine/dbg.cc deleted file mode 100644 index 5b08a69..0000000 --- a/src/CommandLine/dbg.cc +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -#include - -/// @file dbg.cc -/// @brief Nectar debugger. - -CK_IMPORT_C Int32 DebuggerMachPOSIX(Int32 argc, Char const* argv[]); - -/// @brief Debugger entrypoint. -/// @return Status code of debugger. -Int32 main(Int32 argc, Char const* argv[]) { - return DebuggerMachPOSIX(argc, argv); -} diff --git a/src/CommandLine/dbg.cpp b/src/CommandLine/dbg.cpp new file mode 100644 index 0000000..5b08a69 --- /dev/null +++ b/src/CommandLine/dbg.cpp @@ -0,0 +1,17 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +#include + +/// @file dbg.cc +/// @brief Nectar debugger. + +CK_IMPORT_C Int32 DebuggerMachPOSIX(Int32 argc, Char const* argv[]); + +/// @brief Debugger entrypoint. +/// @return Status code of debugger. +Int32 main(Int32 argc, Char const* argv[]) { + return DebuggerMachPOSIX(argc, argv); +} diff --git a/src/CommandLine/dbg.json b/src/CommandLine/dbg.json index 16fe3e2..ecc63e8 100644 --- a/src/CommandLine/dbg.json +++ b/src/CommandLine/dbg.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include", "../../include/CompilerKit/src/Detail"], - "sources_path": ["dbg.cc"], + "sources_path": ["dbg.cpp"], "output_name": "dbg", "compiler_flags": ["-L/usr/lib", "-lDebuggerKit"], "cpp_macros": [ diff --git a/src/CommandLine/kdbg.cc b/src/CommandLine/kdbg.cc deleted file mode 100644 index 148efb3..0000000 --- a/src/CommandLine/kdbg.cc +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -#include - -/// @file kdbg.cc -/// @brief NeKernel debugger. - -CK_IMPORT_C Int32 DebuggerNeKernel(Int32 argc, Char const* argv[]); - -/// @brief Debugger entrypoint. -/// @return Status code of debugger. -Int32 main(Int32 argc, Char const* argv[]) { - return DebuggerNeKernel(argc, argv); -} diff --git a/src/CommandLine/kdbg.cpp b/src/CommandLine/kdbg.cpp new file mode 100644 index 0000000..148efb3 --- /dev/null +++ b/src/CommandLine/kdbg.cpp @@ -0,0 +1,17 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +#include + +/// @file kdbg.cc +/// @brief NeKernel debugger. + +CK_IMPORT_C Int32 DebuggerNeKernel(Int32 argc, Char const* argv[]); + +/// @brief Debugger entrypoint. +/// @return Status code of debugger. +Int32 main(Int32 argc, Char const* argv[]) { + return DebuggerNeKernel(argc, argv); +} diff --git a/src/CommandLine/kdbg.json b/src/CommandLine/kdbg.json index 8c36932..6099f04 100644 --- a/src/CommandLine/kdbg.json +++ b/src/CommandLine/kdbg.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"], - "sources_path": ["kdbg.cc"], + "sources_path": ["kdbg.cpp"], "output_name": "kdbg", "compiler_flags": ["-L/usr/lib", "-lDebuggerKit"], "cpp_macros": [ diff --git a/src/CommandLine/ld64-osx.json b/src/CommandLine/ld64-osx.json index 1a78748..ddd233b 100644 --- a/src/CommandLine/ld64-osx.json +++ b/src/CommandLine/ld64-osx.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"], - "sources_path": ["ld64.cc"], + "sources_path": ["ld64.cpp"], "output_name": "ld64", "compiler_flags": ["-L/usr/local/lib", "-lCompilerKit"], "cpp_macros": [ diff --git a/src/CommandLine/ld64-posix.json b/src/CommandLine/ld64-posix.json index d2e626b..0847b41 100644 --- a/src/CommandLine/ld64-posix.json +++ b/src/CommandLine/ld64-posix.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"], - "sources_path": ["ld64.cc"], + "sources_path": ["ld64.cpp"], "output_name": "ld64", "compiler_flags": ["-L/usr/lib", "-lCompilerKit"], "cpp_macros": [ diff --git a/src/CommandLine/ld64.cc b/src/CommandLine/ld64.cc deleted file mode 100644 index 6d8a247..0000000 --- a/src/CommandLine/ld64.cc +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -#include - -/// @file ld64.cc -/// @brief Nectar linker for AE objects. - -CK_IMPORT_C Int32 DynamicLinker64PEF(Int32 argc, Char const* argv[]); - -Int32 main(Int32 argc, Char const* argv[]) { - return DynamicLinker64PEF(argc, argv); -} diff --git a/src/CommandLine/ld64.cpp b/src/CommandLine/ld64.cpp new file mode 100644 index 0000000..6d8a247 --- /dev/null +++ b/src/CommandLine/ld64.cpp @@ -0,0 +1,15 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +#include + +/// @file ld64.cc +/// @brief Nectar linker for AE objects. + +CK_IMPORT_C Int32 DynamicLinker64PEF(Int32 argc, Char const* argv[]); + +Int32 main(Int32 argc, Char const* argv[]) { + return DynamicLinker64PEF(argc, argv); +} diff --git a/src/CommandLine/mld64-osx.json b/src/CommandLine/mld64-osx.json index 78b7d3a..57f08f0 100644 --- a/src/CommandLine/mld64-osx.json +++ b/src/CommandLine/mld64-osx.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"], - "sources_path": ["mld64.cc"], + "sources_path": ["mld64.cpp"], "output_name": "mld64", "compiler_flags": ["-L/usr/local/lib", "-lCompilerKit"], "cpp_macros": [ diff --git a/src/CommandLine/mld64-posix.json b/src/CommandLine/mld64-posix.json index 0b8deab..e408cec 100644 --- a/src/CommandLine/mld64-posix.json +++ b/src/CommandLine/mld64-posix.json @@ -2,7 +2,7 @@ "compiler_path": "clang++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"], - "sources_path": ["mld64.cc"], + "sources_path": ["mld64.cpp"], "output_name": "mld64", "compiler_flags": ["-L/usr/lib", "-lCompilerKit"], "cpp_macros": [ diff --git a/src/CommandLine/mld64.cc b/src/CommandLine/mld64.cc deleted file mode 100644 index f19712b..0000000 --- a/src/CommandLine/mld64.cc +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -#include - -/// @file ld64.cc -/// @brief Nectar linker for AE objects. - -CK_IMPORT_C Int32 DynamicLinker64MachO(Int32 argc, Char const* argv[]); - -Int32 main(Int32 argc, Char const* argv[]) { - return DynamicLinker64MachO(argc, argv); -} diff --git a/src/CommandLine/mld64.cpp b/src/CommandLine/mld64.cpp new file mode 100644 index 0000000..f19712b --- /dev/null +++ b/src/CommandLine/mld64.cpp @@ -0,0 +1,15 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +#include + +/// @file ld64.cc +/// @brief Nectar linker for AE objects. + +CK_IMPORT_C Int32 DynamicLinker64MachO(Int32 argc, Char const* argv[]); + +Int32 main(Int32 argc, Char const* argv[]) { + return DynamicLinker64MachO(argc, argv); +} diff --git a/src/CommandLine/pef-amd64-asm.cc b/src/CommandLine/pef-amd64-asm.cc deleted file mode 100644 index 3ca4639..0000000 --- a/src/CommandLine/pef-amd64-asm.cc +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -/// @file pef-amd64-asm.cc -/// @brief Nectar C++ frontend compiler for AMD64. - -#include -#include -#include -#include - -#ifdef __APPLE__ -static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; -#else -static auto kPath = "/usr/lib/libCompilerKit.so"; -#endif - -static auto kSymbol = "AssemblerMainAMD64"; - -Int32 main(Int32 argc, Char const* argv[]) { - CompilerKit::ModuleLoader dylib; - dylib(kPath, kSymbol); - - CompilerKit::ModuleLoader::EntryT entrypoint_cxx = - reinterpret_cast(dylib.fEntrypoint); - - if (!entrypoint_cxx) { - kStdOut; - std::printf("error: Could not find entrypoint in %s: %s\n", kPath, dlerror()); - - return EXIT_FAILURE; - } - - return (entrypoint_cxx(argc, argv) == NECTAR_SUCCESS) ? EXIT_SUCCESS : EXIT_FAILURE; -} diff --git a/src/CommandLine/pef-amd64-asm.cpp b/src/CommandLine/pef-amd64-asm.cpp new file mode 100644 index 0000000..3ca4639 --- /dev/null +++ b/src/CommandLine/pef-amd64-asm.cpp @@ -0,0 +1,37 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +/// @file pef-amd64-asm.cc +/// @brief Nectar C++ frontend compiler for AMD64. + +#include +#include +#include +#include + +#ifdef __APPLE__ +static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; +#else +static auto kPath = "/usr/lib/libCompilerKit.so"; +#endif + +static auto kSymbol = "AssemblerMainAMD64"; + +Int32 main(Int32 argc, Char const* argv[]) { + CompilerKit::ModuleLoader dylib; + dylib(kPath, kSymbol); + + CompilerKit::ModuleLoader::EntryT entrypoint_cxx = + reinterpret_cast(dylib.fEntrypoint); + + if (!entrypoint_cxx) { + kStdOut; + std::printf("error: Could not find entrypoint in %s: %s\n", kPath, dlerror()); + + return EXIT_FAILURE; + } + + return (entrypoint_cxx(argc, argv) == NECTAR_SUCCESS) ? EXIT_SUCCESS : EXIT_FAILURE; +} diff --git a/src/CommandLine/pef-amd64-asm.json b/src/CommandLine/pef-amd64-asm.json index 060fbf3..a1b1e1f 100644 --- a/src/CommandLine/pef-amd64-asm.json +++ b/src/CommandLine/pef-amd64-asm.json @@ -2,11 +2,12 @@ "compiler_path": "g++", "compiler_std": "c++20", "headers_path": ["../../include/CompilerKit", "../../include", "../../include/CompilerKit/src/Detail"], - "sources_path": ["pef-amd64-asm.cc"], + "sources_path": ["pef-amd64-asm.cpp"], "output_name": "pef-amd64-asm", "compiler_flags": ["-L/usr/lib"], "cpp_macros": [ "__DRV_ASM__=202601", + "CK_POSIX", "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)" ] } diff --git a/src/CommandLine/pef-amd64-drv.cpp b/src/CommandLine/pef-amd64-drv.cpp new file mode 100644 index 0000000..c8d8dbe --- /dev/null +++ b/src/CommandLine/pef-amd64-drv.cpp @@ -0,0 +1,37 @@ +// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/nekernel-org/nectar + +/// @file pef-amd64-cxxdrv.cc +/// @brief Nectar C++ frontend compiler for AMD64. + +#include +#include +#include +#include + +#ifdef __APPLE__ +static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; +#else +static auto kPath = "/usr/lib/libCompilerKit.so"; +#endif + +static auto kSymbol = "CompilerNectarAMD64"; + +Int32 main(Int32 argc, Char const* argv[]) { + CompilerKit::ModuleLoader dylib; + dylib(kPath, kSymbol); + + CompilerKit::ModuleLoader::EntryT entrypoint_cxx = + reinterpret_cast(dylib.fEntrypoint); + + if (!entrypoint_cxx) { + kStdOut; + std::printf("error: Could not find entrypoint in %s: %s\n", kPath, dlerror()); + + return EXIT_FAILURE; + } + + return (entrypoint_cxx(argc, argv) == NECTAR_SUCCESS) ? EXIT_SUCCESS : EXIT_FAILURE; +} diff --git a/src/CommandLine/pef-amd64-drv.json b/src/CommandLine/pef-amd64-drv.json new file mode 100644 index 0000000..69609ff --- /dev/null +++ b/src/CommandLine/pef-amd64-drv.json @@ -0,0 +1,21 @@ +{ + "compiler_path": "clang++", + "compiler_std": "c++20", + "headers_path": [ + "../include/CompilerKit", + "../../include", + "../include/CompilerKit/src/Detail" + ], + "sources_path": [ + "pef-amd64-drv.cpp" + ], + "output_name": "pef-amd64-necdrv", + "compiler_flags": [ + ], + "cpp_macros": [ + "__NECDRV__=202504", + "CK_POSIX", + "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)" + ] +} + diff --git a/src/CommandLine/pef-amd64-necdrv.cc b/src/CommandLine/pef-amd64-necdrv.cc deleted file mode 100644 index c8d8dbe..0000000 --- a/src/CommandLine/pef-amd64-necdrv.cc +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (See accompanying -// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) -// Official repository: https://github.com/nekernel-org/nectar - -/// @file pef-amd64-cxxdrv.cc -/// @brief Nectar C++ frontend compiler for AMD64. - -#include -#include -#include -#include - -#ifdef __APPLE__ -static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; -#else -static auto kPath = "/usr/lib/libCompilerKit.so"; -#endif - -static auto kSymbol = "CompilerNectarAMD64"; - -Int32 main(Int32 argc, Char const* argv[]) { - CompilerKit::ModuleLoader dylib; - dylib(kPath, kSymbol); - - CompilerKit::ModuleLoader::EntryT entrypoint_cxx = - reinterpret_cast(dylib.fEntrypoint); - - if (!entrypoint_cxx) { - kStdOut; - std::printf("error: Could not find entrypoint in %s: %s\n", kPath, dlerror()); - - return EXIT_FAILURE; - } - - return (entrypoint_cxx(argc, argv) == NECTAR_SUCCESS) ? EXIT_SUCCESS : EXIT_FAILURE; -} diff --git a/src/CommandLine/pef-amd64-necdrv.json b/src/CommandLine/pef-amd64-necdrv.json deleted file mode 100644 index ea2209d..0000000 --- a/src/CommandLine/pef-amd64-necdrv.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compiler_path": "clang++", - "compiler_std": "c++20", - "headers_path": [ - "../include/CompilerKit", - "../../include", - "../include/CompilerKit/src/Detail" - ], - "sources_path": [ - "pef-amd64-necdrv.cc" - ], - "output_name": "pef-amd64-necdrv", - "compiler_flags": [ - ], - "cpp_macros": [ - "__NECDRV__=202504", - "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)" - ] -} - -- cgit v1.2.3