diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/example.toml | 7 | ||||
| -rw-r--r-- | tests/posix.json (renamed from tests/example.json) | 0 | ||||
| -rw-r--r-- | tests/win64.json | 18 |
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 |
