From 64ce7b9da5826b3b728d470ae11994c23e234440 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Mon, 10 Jan 2022 08:13:42 +0100 Subject: Respect user provided main-files (#646) - add example package for C-main --- example_packages/c_main/app/main.c | 5 +++++ example_packages/c_main/fpm.toml | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 example_packages/c_main/app/main.c create mode 100644 example_packages/c_main/fpm.toml (limited to 'example_packages') diff --git a/example_packages/c_main/app/main.c b/example_packages/c_main/app/main.c new file mode 100644 index 0000000..398ec67 --- /dev/null +++ b/example_packages/c_main/app/main.c @@ -0,0 +1,5 @@ +int +main (void) +{ + return 0; +} diff --git a/example_packages/c_main/fpm.toml b/example_packages/c_main/fpm.toml new file mode 100644 index 0000000..eb18e9b --- /dev/null +++ b/example_packages/c_main/fpm.toml @@ -0,0 +1,5 @@ +name = "c-main" + +[[executable]] +name = "c-main" +main = "main.c" -- cgit v1.2.3