aboutsummaryrefslogtreecommitdiff
path: root/example_fpm.toml
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-03-24 11:39:31 -0500
committerBrad Richardson <brichardson@structint.com>2020-03-24 11:39:31 -0500
commit19cc33934050f2b1f541981da4ed2b8accacdb44 (patch)
tree94de22552b3779e4fdd0f219eea9687fb25364fd /example_fpm.toml
parent6fe22cfa6d7813ec5c6fca390a992b56ac646778 (diff)
downloadfpm-19cc33934050f2b1f541981da4ed2b8accacdb44.tar.gz
fpm-19cc33934050f2b1f541981da4ed2b8accacdb44.zip
Create an example fpm.toml to start working from
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"]