aboutsummaryrefslogtreecommitdiff
path: root/example_packages/with_examples/app
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-12-16 11:55:27 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2020-12-16 12:46:10 +0000
commitc99b2765f7e3496d742c2b265a6f9fe78c4f9e58 (patch)
treed5d6838e307abca9a1089b4b3cc3261e493f2e75 /example_packages/with_examples/app
parent58cc2036e5af35c72e7864b5dd019c02dfd7ff23 (diff)
downloadfpm-c99b2765f7e3496d742c2b265a6f9fe78c4f9e58.tar.gz
fpm-c99b2765f7e3496d742c2b265a6f9fe78c4f9e58.zip
Fix: collision between app and example executables of the same name
Use a separate example subdirectory in 'build' to store example executables.
Diffstat (limited to 'example_packages/with_examples/app')
-rw-r--r--example_packages/with_examples/app/demo-prog.f903
1 files changed, 3 insertions, 0 deletions
diff --git a/example_packages/with_examples/app/demo-prog.f90 b/example_packages/with_examples/app/demo-prog.f90
new file mode 100644
index 0000000..f26e898
--- /dev/null
+++ b/example_packages/with_examples/app/demo-prog.f90
@@ -0,0 +1,3 @@
+program demo
+ write(*, '(a)') "This is a simple program"
+end program demo