summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-10-08 19:07:32 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-10-08 19:07:32 +0200
commit518a6da50bfb86e938b2bbf850e3740fa824e832 (patch)
tree98612164a291377083e59c14c5d4e60776e484f7 /tests
parentc48b12c8c5513e8ec808a40da8f79bb1f1368531 (diff)
IMP: Working on TOML support for the build system.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/example.json18
-rw-r--r--tests/example.toml1
2 files changed, 14 insertions, 5 deletions
diff --git a/tests/example.json b/tests/example.json
index 32b21dc..805e5c1 100644
--- a/tests/example.json
+++ b/tests/example.json
@@ -1,10 +1,18 @@
{
"compiler_path": "g++",
"compiler_std": "c++20",
- "headers_path": ["inc"],
- "sources_path": ["example.cxx"],
+ "headers_path": [
+ "inc"
+ ],
+ "sources_path": [
+ "example.cxx"
+ ],
"output_name": "example.elf",
- "compiler_flags": ["-fPIC"],
- "cpp_macros": ["FOO_MACRO"],
+ "compiler_flags": [
+ "-fPIC"
+ ],
+ "cpp_macros": [
+ "FOO_MACRO"
+ ],
"run_after_build": true
-}
+} \ No newline at end of file
diff --git a/tests/example.toml b/tests/example.toml
index bc7e047..64e38d2 100644
--- a/tests/example.toml
+++ b/tests/example.toml
@@ -2,3 +2,4 @@
output_name = "example.elf"
[Sources]
source_file = ["*.cxx"]
+