diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/build.json | 6 | ||||
| -rw-r--r-- | tests/example.cxx | 8 | ||||
| -rw-r--r-- | tests/example.json | 6 |
3 files changed, 14 insertions, 6 deletions
diff --git a/tests/build.json b/tests/build.json deleted file mode 100644 index 8a1ee45..0000000 --- a/tests/build.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compiler_path": "cplusplus", - "compiler_std": "c++20", - "headers_path": ["/App/Modules/", "/App/Headers/"], - "sources_path": ["/App/Sources/*.cxx"] -} diff --git a/tests/example.cxx b/tests/example.cxx new file mode 100644 index 0000000..dfef2e4 --- /dev/null +++ b/tests/example.cxx @@ -0,0 +1,8 @@ +#include <string> +#include <iostream> + +int main(int argc, char** argv) +{ + std::cout << "hello, world!\n"; + return 0; +} diff --git a/tests/example.json b/tests/example.json new file mode 100644 index 0000000..12dd2a5 --- /dev/null +++ b/tests/example.json @@ -0,0 +1,6 @@ +{ + "compiler_path": "g++", + "compiler_std": "c++20", + "sources_path": ["tests/example.cxx"], + "output_name": "example.elf" +} |
