summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-10-22 21:15:15 +0200
committerAmlal <amlal@zka.com>2024-10-22 21:15:15 +0200
commitb2c3e134b968e75faf6db29536755f0304c63b64 (patch)
treee9efcea7f066f97867c26e3274e456af86be77b1
parent37be901c97e89f6ebb24e87933ddf57cd57371d5 (diff)
IMP: Refactor: Rename inc/ folder to BTBKit/
Signed-off-by: Amlal <amlal@zka.com>
-rw-r--r--.gitignore2
-rw-r--r--BTBKit/IManifestBuilder.h (renamed from inc/IManifestBuilder.h)0
-rw-r--r--BTBKit/JSONManifestBuilder.h (renamed from inc/JSONManifestBuilder.h)0
-rw-r--r--BTBKit/Macros.h (renamed from inc/Macros.h)0
-rw-r--r--cli/compile_flags.txt2
-rw-r--r--makefile6
-rw-r--r--posix.json2
-rw-r--r--src/compile_flags.txt4
-rw-r--r--tests/posix.json2
-rw-r--r--tests/win64.json2
-rw-r--r--win64.json2
11 files changed, 11 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index a98e0c5..ddeacca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -195,7 +195,7 @@ local.properties
*.la
*.lo
-# Shared objects (inc. Windows DLLs)
+# Shared objects (BTBKit. Windows DLLs)
*.dll
*.so
*.so.*
diff --git a/inc/IManifestBuilder.h b/BTBKit/IManifestBuilder.h
index 0a821d5..0a821d5 100644
--- a/inc/IManifestBuilder.h
+++ b/BTBKit/IManifestBuilder.h
diff --git a/inc/JSONManifestBuilder.h b/BTBKit/JSONManifestBuilder.h
index 290d7bb..290d7bb 100644
--- a/inc/JSONManifestBuilder.h
+++ b/BTBKit/JSONManifestBuilder.h
diff --git a/inc/Macros.h b/BTBKit/Macros.h
index f2d0f87..f2d0f87 100644
--- a/inc/Macros.h
+++ b/BTBKit/Macros.h
diff --git a/cli/compile_flags.txt b/cli/compile_flags.txt
index f6d73f3..0a19b37 100644
--- a/cli/compile_flags.txt
+++ b/cli/compile_flags.txt
@@ -1,2 +1,2 @@
-std=c++20
--I../inc
+-I../BTBKit
diff --git a/makefile b/makefile
index c789bf4..d8851f1 100644
--- a/makefile
+++ b/makefile
@@ -1,16 +1,16 @@
.PHONY: build-btb-core
build-btb-core:
- sudo g++ -I./inc I./vendor $(wildcard src/*.cxx) -std=c++20 -fPIC -shared -o libbtb.so
+ sudo g++ -I./BTBKit I./vendor $(wildcard src/*.cxx) -std=c++20 -fPIC -shared -o libbtb.so
sudo cp libbtb.so /usr/local/lib
.PHONY: build-btb
build-btb:
- sudo g++ -I./inc I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -L/usr/local -lbtb -o btb
+ sudo g++ -I./BTBKit I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -L/usr/local -lbtb -o btb
sudo cp btb /usr/local/bin
.PHONY: build-btb-windows
build-btb-windows:
- x86_64-w64-mingw32-g++.exe -I./inc -I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -o btb.exe
+ x86_64-w64-mingw32-g++.exe -I./BTBKit -I./vendor $(wildcard cli/*.cxx) $(wildcard src/*.cxx) -std=c++20 -o btb.exe
.PHONY: help
help:
diff --git a/posix.json b/posix.json
index 785b7b1..f8a9232 100644
--- a/posix.json
+++ b/posix.json
@@ -1,7 +1,7 @@
{
"compiler_path": "g++",
"compiler_std": "c++20",
- "headers_path": ["inc", "vendor"],
+ "headers_path": ["BTBKit", "vendor"],
"sources_path": ["src/*.cc", "cli/*.cc"],
"output_name": "btb",
"compiler_flags": ["-fPIC"],
diff --git a/src/compile_flags.txt b/src/compile_flags.txt
index 6790690..b90486b 100644
--- a/src/compile_flags.txt
+++ b/src/compile_flags.txt
@@ -1,4 +1,4 @@
-std=c++20
--I../inc
+-I../BTBKit
-fPIC
--shared \ No newline at end of file
+-shared
diff --git a/tests/posix.json b/tests/posix.json
index 944b320..90a94a1 100644
--- a/tests/posix.json
+++ b/tests/posix.json
@@ -1,7 +1,7 @@
{
"compiler_path": "g++",
"compiler_std": "c++20",
- "headers_path": ["inc"],
+ "headers_path": ["BTBKit"],
"sources_path": ["example.cc"],
"output_name": "example.elf",
"compiler_flags": ["-fPIC"],
diff --git a/tests/win64.json b/tests/win64.json
index cba2af7..718c9c5 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": ["inc"],
+ "headers_path": ["BTBKit"],
"sources_path": ["example.cc"],
"output_name": "example.elf",
"compiler_flags": ["-fPIC"],
diff --git a/win64.json b/win64.json
index 23a32ea..d7c4966 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": ["inc", "vendor"],
+ "headers_path": ["BTBKit", "vendor"],
"sources_path": ["src/*.cc", "cli/*.cc"],
"output_name": "btb.exe",
"compiler_flags": ["-fPIC"],