meson.build 562 B

1234567891011121314151617181920212223
  1. project('doxygen test', 'cpp', version : '0.1.0')
  2. doxygen = find_program('doxygen', required : false)
  3. if not doxygen.found()
  4. error('MESON_SKIP_TEST doxygen not found.')
  5. endif
  6. cdata = configuration_data()
  7. cdata.set('VERSION', meson.project_version())
  8. if find_program('dot', required : false).found()
  9. # In the real world this would set the variable
  10. # to YES. However we set it to NO so that the
  11. # list of generated files is always the same
  12. # so tests always pass.
  13. cdata.set('HAVE_DOT', 'NO')
  14. else
  15. cdata.set('HAVE_DOT', 'NO')
  16. endif
  17. subdir('doc')