aboutsummaryrefslogtreecommitdiff
path: root/example_fpm.toml
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-03-25 18:06:00 -0500
committerGitHub <noreply@github.com>2020-03-25 18:06:00 -0500
commitab9d22f9a266ec540bc9b0248f180b26dc185ea6 (patch)
tree3f305dc61063cdc7f4b89d4340de0b090c615ba3 /example_fpm.toml
parent6fe22cfa6d7813ec5c6fca390a992b56ac646778 (diff)
parent97a21c32b70440ab2017208063db1638ff35e1f9 (diff)
downloadfpm-ab9d22f9a266ec540bc9b0248f180b26dc185ea6.tar.gz
fpm-ab9d22f9a266ec540bc9b0248f180b26dc185ea6.zip
Merge pull request #47 from everythingfunctional/ReadFpmToml
Read fpm toml
Diffstat (limited to 'example_fpm.toml')
-rw-r--r--example_fpm.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/example_fpm.toml b/example_fpm.toml
new file mode 100644
index 0000000..b7a2057
--- /dev/null
+++ b/example_fpm.toml
@@ -0,0 +1,25 @@
+name = "package-name"
+version = "0.1.0"
+license = "BSD3"
+author = "Author name here"
+maintainer = "example@example.com"
+copyright = "2020 Author name here"
+dependencies = ["../std-lib.tar.gz"]
+compiler = "gfortran"
+devel-options = ["-g", "-Wall", "-Wextra", "-Werror", "-pedantic"]
+release-options = ["-O3"]
+
+[library]
+source-dirs = "src"
+
+[executables.executable-name]
+main = "Main.f90"
+source-dirs = "app"
+linker-options = ["-O3"]
+dependencies = ["iso_varying_string"]
+
+[tests.test-name]
+main = "Spec.f90"
+source-dirs = "test"
+linker-options = ["-Og"]
+dependencies = ["vegetables >= 1.0 && < 2.0"]