summaryrefslogtreecommitdiffstats
path: root/panels/wacom/calibrator/meson.build
blob: f894e604ba16efaf17c14df6dddf205789830c3c (plain)
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
27
28
29
30
31
32
33
34
35
calibrator_inc = include_directories('.')

common_sources = files(
  'calibrator.c',
  'calibrator-gui.c',
  'cc-clock.c',
)

calibrator_deps = deps + [m_dep]

libwacom_calibrator = static_library(
  cappletname + '-calibrator',
  sources: common_sources,
  include_directories: top_inc,
  dependencies: calibrator_deps,
  c_args: cflags
)

libwacom_calibrator_test = static_library(
  cappletname + '-calibrator-test',
  sources: common_sources,
  include_directories: top_inc,
  dependencies: calibrator_deps,
  c_args: test_cflags
)

sources = common_sources + wacom_gresource + files('main.c')

executable(
  'test-calibrator',
  sources,
  include_directories: top_inc,
  dependencies: calibrator_deps,
  c_args: cflags
)