summaryrefslogtreecommitdiffhomepage
path: root/dev/examples
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-07-24 09:15:17 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-07-24 09:15:17 +0100
commita3ea256d00e5aac45574c7c8b076b60630f73a95 (patch)
treed639c686922140ee0465b27964ce4d2b854b68b7 /dev/examples
parentbb11d32131e786b40550375005b12bcb31cf25d7 (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/examples')
-rw-r--r--dev/examples/example_02_libbtb/libbtb.cc2
-rw-r--r--dev/examples/example_02_libbtb/posix.json2
-rw-r--r--dev/examples/example_02_libbtb/win64.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/dev/examples/example_02_libbtb/libbtb.cc b/dev/examples/example_02_libbtb/libbtb.cc
index 0b4d7c4..e6e489d 100644
--- a/dev/examples/example_02_libbtb/libbtb.cc
+++ b/dev/examples/example_02_libbtb/libbtb.cc
@@ -8,7 +8,7 @@ static auto kPath = ".\win64.json";
#endif
int main(int argc, char** argv) {
- auto builder = new BTB::JSONManifestBuilder();
+ auto builder = new NeBuild::JSONManifestBuilder();
if (!builder) return EXIT_FAILURE;
return builder->buildTarget(strlen(kPath), kPath);
diff --git a/dev/examples/example_02_libbtb/posix.json b/dev/examples/example_02_libbtb/posix.json
index 871712e..47f08ba 100644
--- a/dev/examples/example_02_libbtb/posix.json
+++ b/dev/examples/example_02_libbtb/posix.json
@@ -11,7 +11,7 @@
"output_name": "libbtb.elf",
"compiler_flags": [
"-L/usr/local/lib",
- "-lBTB"
+ "-lNeBuild"
],
"cpp_macros": [
"FOO_MACRO"
diff --git a/dev/examples/example_02_libbtb/win64.json b/dev/examples/example_02_libbtb/win64.json
index 658ee0f..a873f5d 100644
--- a/dev/examples/example_02_libbtb/win64.json
+++ b/dev/examples/example_02_libbtb/win64.json
@@ -10,7 +10,7 @@
],
"output_name": "libbtb.exe",
"compiler_flags": [
- "-lBTB"
+ "-lNeBuild"
],
"cpp_macros": [
"FOO_MACRO"