diff options
| author | Amlal <amlal@zka.com> | 2024-10-22 21:15:15 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-10-22 21:15:15 +0200 |
| commit | b2c3e134b968e75faf6db29536755f0304c63b64 (patch) | |
| tree | e9efcea7f066f97867c26e3274e456af86be77b1 | |
| parent | 37be901c97e89f6ebb24e87933ddf57cd57371d5 (diff) | |
IMP: Refactor: Rename inc/ folder to BTBKit/
Signed-off-by: Amlal <amlal@zka.com>
| -rw-r--r-- | .gitignore | 2 | ||||
| -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.txt | 2 | ||||
| -rw-r--r-- | makefile | 6 | ||||
| -rw-r--r-- | posix.json | 2 | ||||
| -rw-r--r-- | src/compile_flags.txt | 4 | ||||
| -rw-r--r-- | tests/posix.json | 2 | ||||
| -rw-r--r-- | tests/win64.json | 2 | ||||
| -rw-r--r-- | win64.json | 2 |
11 files changed, 11 insertions, 11 deletions
@@ -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 @@ -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: @@ -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"], @@ -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"], |
