meson.build 589 B

123456789101112131415161718192021222324252627282930313233
  1. wtpt_srcs = files(
  2. 'wtpt.c',
  3. )
  4. wtpt_exe = executable(
  5. 'wtpt',
  6. wtpt_srcs,
  7. dependencies: [liblcms2_dep, common_dep, m_dep],
  8. )
  9. wtpt_man = files(
  10. 'wtpt.1',
  11. )
  12. # install_man(wtpt_man)
  13. examples = {
  14. 'roundtrip': files('roundtrip.c'),
  15. 'mktiff8': files('mktiff8.c'),
  16. # 'vericc': files('vericc.c'),
  17. # The following are commented out because they're LCMS 1
  18. # 'mkgrayer': files('mkgrayer.c'),
  19. # 'mkcmy': files('mkcmy.c'),
  20. # 'itufax': files('itufax.c'),
  21. }
  22. foreach exe, srcs : examples
  23. executable(
  24. exe,
  25. srcs,
  26. dependencies: [liblcms2_dep, m_dep],
  27. )
  28. endforeach