aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/8 install/meson.build
blob: 6eb5ba5ef062cc4eb69b89405f1f4ee091dbc7e1 (plain)
1
2
3
4
5
6
7
8
9
10
project('install test', 'c', default_options : ['libdir=libtest'])

stlib = static_library('stat', 'stat.c', install : true)
exe = executable('prog', 'prog.c', install : true)

dirtarget = custom_target('dirtarget',
  output: ['dir'],
  install: true,
  command: [find_program('gendir.py'), '@OUTPUT@'],
  install_dir: get_option('datadir'))