summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-10-09 12:46:15 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-10-09 12:46:15 +0200
commit40a11d15d51c0fdfb93003d97aae6fc0c4538890 (patch)
treedeb011bea80e7112eca854416aaf99cedc58ba79 /tests
parent904a70bf75ba9f5320cac611a2fab3f1fbd02425 (diff)
IMP: Improved ReadMe and support pwsh for run_after_build command.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/example.toml7
-rw-r--r--tests/posix.json (renamed from tests/example.json)0
-rw-r--r--tests/win64.json18
3 files changed, 18 insertions, 7 deletions
diff --git a/tests/example.toml b/tests/example.toml
deleted file mode 100644
index 1efa156..0000000
--- a/tests/example.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-[CPlusPlus]
-cxx_compiler = "g++"
-cxx_output_name = "example.elf"
-cxx_source_files = ["*.cxx"]
-cxx_include_directories = ["inc", "vendor"]
-cxx_compiler_flags = ["-std=c++20"]
-cxx_linker_flags = ["-lstdc++"]
diff --git a/tests/example.json b/tests/posix.json
index 805e5c1..805e5c1 100644
--- a/tests/example.json
+++ b/tests/posix.json
diff --git a/tests/win64.json b/tests/win64.json
new file mode 100644
index 0000000..f074c43
--- /dev/null
+++ b/tests/win64.json
@@ -0,0 +1,18 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": [
+ "inc"
+ ],
+ "sources_path": [
+ "example.cxx"
+ ],
+ "output_name": "example.elf",
+ "compiler_flags": [
+ "-fPIC"
+ ],
+ "cpp_macros": [
+ "FOO_MACRO"
+ ],
+ "run_after_build": true
+ } \ No newline at end of file