diff options
| author | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-25 16:38:02 +0000 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-02-03 11:03:13 +0000 |
| commit | 59d9c2d83db722599d612f4339d9d8405f0c13e7 (patch) | |
| tree | 1e6e9d6c4ad42d5f6959a5d42faf106aaf0130e5 /meson.build | |
| parent | 3d1193fd30da12bcf1591bce18ccc615055424c1 (diff) | |
| download | libepoxy-59d9c2d83db722599d612f4339d9d8405f0c13e7.tar.gz | |
Generate the Epoxy API reference using Doxygen
The build is conditional on:
* using the Meson build
* passing the `-Denable-docs=true` configuration switch
* having `doxygen` installed
Currently, the generated HTML is kind of empty, but it works.
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build index c75622c..c8e45cd 100644 --- a/meson.build +++ b/meson.build @@ -170,3 +170,12 @@ libepoxy_inc = [ subdir('include/epoxy') subdir('src') subdir('test') + +if get_option('enable-docs') + doxygen = find_program('doxygen', required: false) + if doxygen.found() + subdir('doc') + else + message('Documentation disabled without doxygen') + endif +endif |
