diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-11-10 20:28:43 +0100 |
---|---|---|
committer | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-11-13 09:34:56 +0100 |
commit | fcc971fd8703c37b8e0e02dabfe95138b4979309 (patch) | |
tree | b136962c5f5de1543c450ac4e0954504fd5e0804 /example_packages/link_executable/app | |
parent | cc7fc6ec36b9075f3709864e17301b691cf6b870 (diff) | |
download | fpm-fcc971fd8703c37b8e0e02dabfe95138b4979309.tar.gz fpm-fcc971fd8703c37b8e0e02dabfe95138b4979309.zip |
Allow external link dependencies with scope limited to targets
- move reader for string list to toml-f proxy
- allow link entry in executable and test tables
- bump toml-f version to v0.2.1
- add example package linking a single executable against gomp
Diffstat (limited to 'example_packages/link_executable/app')
-rw-r--r-- | example_packages/link_executable/app/main.f90 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example_packages/link_executable/app/main.f90 b/example_packages/link_executable/app/main.f90 new file mode 100644 index 0000000..b1df402 --- /dev/null +++ b/example_packages/link_executable/app/main.f90 @@ -0,0 +1,11 @@ +program gomp_example + implicit none + + interface + integer function omp_get_num_procs() + end function + end interface + + print *, omp_get_num_procs() + +end program gomp_example |