summaryrefslogtreecommitdiffhomepage
path: root/examples/example_01
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-28 03:19:14 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-28 03:19:14 +0200
commitb250a9858728ad9078e482ccf95f938ceb0ae24c (patch)
tree7190d7c9312a99ac83faf03da53b0612c1ea4eba /examples/example_01
parent23f0a09cb5bb9a211358e613557ab60b3cbd7172 (diff)
fix: fix dylib build on POSIX targets.
feat: add libBTB example, and updated libBTB version. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/example_01')
-rw-r--r--examples/example_01/example.cc7
-rw-r--r--examples/example_01/posix.json10
-rw-r--r--examples/example_01/win64.json10
3 files changed, 0 insertions, 27 deletions
diff --git a/examples/example_01/example.cc b/examples/example_01/example.cc
deleted file mode 100644
index ae47ce8..0000000
--- a/examples/example_01/example.cc
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <iostream>
-#include <string>
-
-int main(int argc, char** argv) {
- std::cout << "hello, world!\n";
- return 0;
-}
diff --git a/examples/example_01/posix.json b/examples/example_01/posix.json
deleted file mode 100644
index 17a6022..0000000
--- a/examples/example_01/posix.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "compiler_path": "g++",
- "compiler_std": "c++20",
- "headers_path": ["lib"],
- "sources_path": ["example.cc"],
- "output_name": "example.elf",
- "compiler_flags": ["-fPIC"],
- "cpp_macros": ["FOO_MACRO"],
- "run_after_build": true
-}
diff --git a/examples/example_01/win64.json b/examples/example_01/win64.json
deleted file mode 100644
index 1712d8b..0000000
--- a/examples/example_01/win64.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "compiler_path": "x86_64-w64-mingw32-g++",
- "compiler_std": "c++20",
- "headers_path": ["lib"],
- "sources_path": ["example.cc"],
- "output_name": "example.elf",
- "compiler_flags": ["-fPIC"],
- "cpp_macros": ["FOO_MACRO"],
- "run_after_build": true
-}