From 004bc5ccdf1a8499e2c937dcc687843cea89160d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 28 Mar 2025 05:03:12 +0100 Subject: examples: move example files from tests/ to examples/example_01/ Relocate the generic C++ example and its build configs into a dedicated examples/example_01/ directory to better separate tests from usage samples. No content changes were made; files were renamed only. Signed-off-by: Amlal El Mahrouss --- tests/example.cc | 8 -------- tests/posix.json | 10 ---------- tests/win64.json | 10 ---------- 3 files changed, 28 deletions(-) delete mode 100644 tests/example.cc delete mode 100644 tests/posix.json delete mode 100644 tests/win64.json (limited to 'tests') diff --git a/tests/example.cc b/tests/example.cc deleted file mode 100644 index dfef2e4..0000000 --- a/tests/example.cc +++ /dev/null @@ -1,8 +0,0 @@ -#include -#include - -int main(int argc, char** argv) -{ - std::cout << "hello, world!\n"; - return 0; -} diff --git a/tests/posix.json b/tests/posix.json deleted file mode 100644 index 17a6022..0000000 --- a/tests/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/tests/win64.json b/tests/win64.json deleted file mode 100644 index 1712d8b..0000000 --- a/tests/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 -} -- cgit v1.2.3