meson.build 712 B

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