meson.build 328 B

123456789
  1. # Test that using files generated with configure_file as sources works.
  2. # We do this inside a subdir so that the path isn't accidentally correct
  3. # because there is no structure in the build dir.
  4. genlib = configure_file(input : '../lib.c',
  5. output : 'genlib.c',
  6. copy: true)
  7. shared_library('genlib', genlib,
  8. install : false)