Skip to content

Commit

Permalink
Merge pull request #32 from AtilaSaraiva/meson
Browse files Browse the repository at this point in the history
Added support for meson builder
  • Loading branch information
kookma authored Oct 30, 2021
2 parents 8605cf4 + f9f4e7e commit 9ac7f4e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
project('Ogpf', 'fortran')

gnuplot = find_program('gnuplot',
required: true)

libogpf = library('ogpf', 'src/ogpf.f90',
fortran_args: '-std=f2008')

libogpf_dep = declare_dependency(
link_with: libogpf)

executable('demo', 'example/demo.f90',
dependencies: libogpf_dep)

0 comments on commit 9ac7f4e

Please sign in to comment.