summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-20 05:04:26 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-20 15:49:00 +0100
commite1fd8b63b079d72d31bd7e0ea30fb7695891bc98 (patch)
tree56e5feb361683a98527ba92705cd049275252713
parent271ebdc52e0b9e90381154a29b370bf0be59a611 (diff)
META: A bunch of repository update for btb's relevancy.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
-rw-r--r--.gitignore2
-rw-r--r--cli/CommandLine.cc (renamed from cli/ToolCLI.cc)14
-rw-r--r--compile_flags.txt2
-rw-r--r--lib/IManifestBuilder.h (renamed from BTBKit/IManifestBuilder.h)2
-rw-r--r--lib/Includes.h (renamed from BTBKit/Includes.h)0
-rw-r--r--lib/JSONManifestBuilder.h (renamed from BTBKit/JSONManifestBuilder.h)2
-rw-r--r--lib/Macros.h (renamed from BTBKit/Macros.h)2
-rw-r--r--makefile4
-rw-r--r--posix.json2
-rw-r--r--src/IManifestBuilder.cc2
-rw-r--r--src/JSONManifestBuilder.cc2
-rw-r--r--src/compile_flags.txt2
-rw-r--r--tests/posix.json2
-rw-r--r--tests/win64.json2
-rw-r--r--win64.json2
15 files changed, 21 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index ddeacca..1511910 100644
--- a/.gitignore
+++ b/.gitignore
@@ -195,7 +195,7 @@ local.properties
*.la
*.lo
-# Shared objects (BTBKit. Windows DLLs)
+# Shared objects (SOs. Windows DLLs)
*.dll
*.so
*.so.*
diff --git a/cli/ToolCLI.cc b/cli/CommandLine.cc
index 01ac73e..231ee0b 100644
--- a/cli/ToolCLI.cc
+++ b/cli/CommandLine.cc
@@ -1,6 +1,7 @@
+
// ============================================================= //
// btb
-// Copyright (C) 2024, Theater Quality Inc, all rights reserved.
+// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
// ============================================================= //
#include <JSONManifestBuilder.h>
@@ -22,12 +23,12 @@ int main(int argc, char** argv)
index_path == "--version")
{
std::cout << "Usage: btb <file>\n";
- std::cout << "Check for issues at: el-mahrouss-logic.com/developer/issues\n";
+ std::cout << "Check for issues at: theater-quality.com/developer/issues\n";
- std::cout << "Brought to you by Theater Quality Inc.\n";
- std::cout << "© Theater Quality Inc, all rights reserved.\n";
+ std::cout << "Brought to you by Amlal El Mahrouss.\n";
+ std::cout << "© 2024-2025 Amlal El Mahrouss, all rights reserved.\n";
- return 0;
+ return EXIT_SUCCESS;
}
else if (index_path == "--dry-run")
{
@@ -38,8 +39,7 @@ int main(int argc, char** argv)
index_path == "--help")
{
std::cout << "btb: Build a JSON file: btb <json_path>.json\n";
-
- return 0;
+ return EXIT_SUCCESS;
}
std::thread job_build_thread([](std::string index_path) -> void {
diff --git a/compile_flags.txt b/compile_flags.txt
index 6a43c77..32eb651 100644
--- a/compile_flags.txt
+++ b/compile_flags.txt
@@ -1,3 +1,3 @@
-std=c++20
--IBTBKit
+-Ilib
-Ivendor \ No newline at end of file
diff --git a/BTBKit/IManifestBuilder.h b/lib/IManifestBuilder.h
index 95d9e88..2aa45db 100644
--- a/BTBKit/IManifestBuilder.h
+++ b/lib/IManifestBuilder.h
@@ -1,6 +1,6 @@
// ============================================================= //
// btb
-// Copyright (C) 2024, Theater Quality Inc, all rights reserved.
+// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
// ============================================================= //
#pragma once
diff --git a/BTBKit/Includes.h b/lib/Includes.h
index 070f80b..070f80b 100644
--- a/BTBKit/Includes.h
+++ b/lib/Includes.h
diff --git a/BTBKit/JSONManifestBuilder.h b/lib/JSONManifestBuilder.h
index 10d0857..ae2d482 100644
--- a/BTBKit/JSONManifestBuilder.h
+++ b/lib/JSONManifestBuilder.h
@@ -1,6 +1,6 @@
// ============================================================= //
// btb
-// Copyright (C) 2024, Theater Quality Inc, all rights reserved.
+// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
// ============================================================= //
#pragma once
diff --git a/BTBKit/Macros.h b/lib/Macros.h
index 64dcd55..e9adddb 100644
--- a/BTBKit/Macros.h
+++ b/lib/Macros.h
@@ -1,6 +1,6 @@
// ============================================================= //
// btb
-// Copyright (C) 2024, Theater Quality Inc, all rights reserved.
+// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
// ============================================================= //
#pragma once
diff --git a/makefile b/makefile
index 80f4277..4e3abe4 100644
--- a/makefile
+++ b/makefile
@@ -1,12 +1,12 @@
.PHONY: build-btb
build-btb:
- sudo g++ -I./BTBKit -I./vendor $(wildcard cli/*.cc) $(wildcard src/*.cc) -std=c++20 -o btb
+ sudo g++ -I./lib -I./vendor $(wildcard cli/*.cc) $(wildcard src/*.cc) -std=c++20 -o btb
sudo cp btb /usr/local/bin
.PHONY: build-btb-windows
build-btb-windows:
- x86_64-w64-mingw32-g++.exe -I./BTBKit -I./vendor $(wildcard cli/*.cc) $(wildcard src/*.cc) -std=c++20 -o btb.exe
+ x86_64-w64-mingw32-g++.exe -I./lib -I./vendor $(wildcard cli/*.cc) $(wildcard src/*.cc) -std=c++20 -o btb.exe
.PHONY: help
help:
diff --git a/posix.json b/posix.json
index f8a9232..f83572b 100644
--- a/posix.json
+++ b/posix.json
@@ -1,7 +1,7 @@
{
"compiler_path": "g++",
"compiler_std": "c++20",
- "headers_path": ["BTBKit", "vendor"],
+ "headers_path": ["lib", "vendor"],
"sources_path": ["src/*.cc", "cli/*.cc"],
"output_name": "btb",
"compiler_flags": ["-fPIC"],
diff --git a/src/IManifestBuilder.cc b/src/IManifestBuilder.cc
index c649afe..e3cfc6b 100644
--- a/src/IManifestBuilder.cc
+++ b/src/IManifestBuilder.cc
@@ -1,6 +1,6 @@
// ============================================================= //
// btb
-// Copyright (C) 2024, Theater Quality Inc, all rights reserved.
+// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
// ============================================================= //
#include <IManifestBuilder.h>
diff --git a/src/JSONManifestBuilder.cc b/src/JSONManifestBuilder.cc
index b16ae82..2b37f3e 100644
--- a/src/JSONManifestBuilder.cc
+++ b/src/JSONManifestBuilder.cc
@@ -1,6 +1,6 @@
// ============================================================= //
// btb
-// Copyright (C) 2024, Theater Quality Inc, all rights reserved.
+// Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
// ============================================================= //
#include <JSONManifestBuilder.h>
diff --git a/src/compile_flags.txt b/src/compile_flags.txt
index b90486b..746d426 100644
--- a/src/compile_flags.txt
+++ b/src/compile_flags.txt
@@ -1,4 +1,4 @@
-std=c++20
--I../BTBKit
+-I../lib
-fPIC
-shared
diff --git a/tests/posix.json b/tests/posix.json
index 90a94a1..17a6022 100644
--- a/tests/posix.json
+++ b/tests/posix.json
@@ -1,7 +1,7 @@
{
"compiler_path": "g++",
"compiler_std": "c++20",
- "headers_path": ["BTBKit"],
+ "headers_path": ["lib"],
"sources_path": ["example.cc"],
"output_name": "example.elf",
"compiler_flags": ["-fPIC"],
diff --git a/tests/win64.json b/tests/win64.json
index 718c9c5..1712d8b 100644
--- a/tests/win64.json
+++ b/tests/win64.json
@@ -1,7 +1,7 @@
{
"compiler_path": "x86_64-w64-mingw32-g++",
"compiler_std": "c++20",
- "headers_path": ["BTBKit"],
+ "headers_path": ["lib"],
"sources_path": ["example.cc"],
"output_name": "example.elf",
"compiler_flags": ["-fPIC"],
diff --git a/win64.json b/win64.json
index d7c4966..6a2a22e 100644
--- a/win64.json
+++ b/win64.json
@@ -1,7 +1,7 @@
{
"compiler_path": "x86_64-w64-mingw32-g++.exe",
"compiler_std": "c++20",
- "headers_path": ["BTBKit", "vendor"],
+ "headers_path": ["lib", "vendor"],
"sources_path": ["src/*.cc", "cli/*.cc"],
"output_name": "btb.exe",
"compiler_flags": ["-fPIC"],