aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-02-28 15:13:38 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-02-28 22:13:38 +0200
commit71cffa67fa90c7905fa8333f9895461563e50435 (patch)
treebb9a0e5263d95f0a5fc95fb785d728e7a6ad32a1 /docs/markdown
parent939c00a9727e2ce47f320dd02aa3952c146406c7 (diff)
downloadmeson-71cffa67fa90c7905fa8333f9895461563e50435.zip
meson-71cffa67fa90c7905fa8333f9895461563e50435.tar.gz
meson-71cffa67fa90c7905fa8333f9895461563e50435.tar.bz2
add NetCDF
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Dependencies.md21
-rw-r--r--docs/markdown/snippets/netcdf.md3
2 files changed, 23 insertions, 1 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index e243e94..47fce8b 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -257,7 +257,9 @@ libraries that have been compiled for single-threaded use instead.
## Fortran Coarrays
-As of 0.50.0 Coarrays are a Fortran language intrinsic feature, enabled by
+*(added 0.50.0)*
+
+ Coarrays are a Fortran language intrinsic feature, enabled by
`dependency('coarray')`.
GCC will use OpenCoarrays if present to implement coarrays, while Intel and NAG
@@ -286,6 +288,9 @@ test('gtest test', e)
```
## HDF5
+
+*(added 0.50.0)*
+
HDF5 is supported for C, C++ and Fortran. Because dependencies are
language-specific, you must specify the requested language using the
`language` keyword argument, i.e.,
@@ -349,6 +354,20 @@ are not in your path, they can be specified by setting the standard
environment variables `MPICC`, `MPICXX`, `MPIFC`, `MPIF90`, or
`MPIF77`, during configuration.
+## NetCDF
+
+*(added 0.50.0)*
+
+NetCDF is supported for C, C++ and Fortran. Because NetCDF dependencies are
+language-specific, you must specify the requested language using the
+`language` keyword argument, i.e.,
+ * `dependency('netcdf', language: 'c')` for the C NetCDF headers and libraries
+ * `dependency('netcdf', language: 'cpp')` for the C++ NetCDF headers and libraries
+ * `dependency('netcdf', language: 'fortran')` for the Fortran NetCDF headers and libraries
+
+Meson uses pkg-config to find NetCDF.
+
+
## OpenMP
*(added 0.46.0)*
diff --git a/docs/markdown/snippets/netcdf.md b/docs/markdown/snippets/netcdf.md
new file mode 100644
index 0000000..711f174
--- /dev/null
+++ b/docs/markdown/snippets/netcdf.md
@@ -0,0 +1,3 @@
+## NetCDF
+
+NetCDF support for C, C++ and Fortran is added via pkg-config.