diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-12-15 10:01:18 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-12-15 10:01:18 +0000 |
commit | 58cc2036e5af35c72e7864b5dd019c02dfd7ff23 (patch) | |
tree | 31abfc965cd3fa22e1dec58fab249f1648c4cdff /example_packages | |
parent | 2a9b9611bd2058882afca2f6adc9234b25b8d2be (diff) | |
download | fpm-58cc2036e5af35c72e7864b5dd019c02dfd7ff23.tar.gz fpm-58cc2036e5af35c72e7864b5dd019c02dfd7ff23.zip |
Update: with_example demo to test for object collision
Diffstat (limited to 'example_packages')
-rw-r--r-- | example_packages/with_examples/example/prog.f90 | 3 | ||||
-rw-r--r-- | example_packages/with_examples/fpm.toml | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/example_packages/with_examples/example/prog.f90 b/example_packages/with_examples/example/prog.f90 new file mode 100644 index 0000000..a48b7fd --- /dev/null +++ b/example_packages/with_examples/example/prog.f90 @@ -0,0 +1,3 @@ +program demo + write(*, '(a)') "This is a simple example program, but not a real application" +end program demo diff --git a/example_packages/with_examples/fpm.toml b/example_packages/with_examples/fpm.toml index d7d2926..e10f783 100644 --- a/example_packages/with_examples/fpm.toml +++ b/example_packages/with_examples/fpm.toml @@ -5,3 +5,8 @@ build.auto-examples = false name = "demo-prog" source-dir = "demo" main = "prog.f90" + +[[example]] +name = "example-prog" +source-dir = "example" +main = "prog.f90" |