aboutsummaryrefslogtreecommitdiff
path: root/example_fpm.toml
diff options
context:
space:
mode:
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"]