File: meson.build

package info (click to toggle)
libssc 0.4.2-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,788 kB
  • sloc: ansic: 3,714; python: 707; makefile: 10
file content (26 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pymod = import('python')
python = pymod.find_installation()
python.dependency()

mocking_sources = files(
  'qmi.py',
  'ssc.py',
  'ssc-server',
  'ssc-server-tests'
)

python.install_sources(mocking_sources)

install_data('ssc-server', install_dir: get_option('bindir'))
install_data('ssc-server-tests', install_dir: get_option('bindir'))

# Make the SSC Server available during tests
custom_target(
  'ssc-mocking',
  input: mocking_sources,
  output: ['qmi.py', 'ssc.py', 'ssc-server', 'ssc-server-tests'],
  command: ['cp', '@INPUT@', '@OUTDIR@'],
  build_by_default: true
)

subdir('data')