diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2022-01-10 08:13:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 08:13:42 +0100 |
commit | 64ce7b9da5826b3b728d470ae11994c23e234440 (patch) | |
tree | 22b9b0c87c4455d2deb47b7f90f4d1d400be441a /example_packages | |
parent | 32401f1fa1ed9d42e6a59d988a03fdf6f3fc9716 (diff) | |
download | fpm-64ce7b9da5826b3b728d470ae11994c23e234440.tar.gz fpm-64ce7b9da5826b3b728d470ae11994c23e234440.zip |
Respect user provided main-files (#646)
- add example package for C-main
Diffstat (limited to 'example_packages')
-rw-r--r-- | example_packages/c_main/app/main.c | 5 | ||||
-rw-r--r-- | example_packages/c_main/fpm.toml | 5 |
2 files changed, 10 insertions, 0 deletions
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" |