File: meson.build

package info (click to toggle)
lcms2 2.16-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,172 kB
  • sloc: ansic: 45,779; sh: 4,239; pascal: 1,960; makefile: 197; cpp: 84
file content (30 lines) | stat: -rw-r--r-- 572 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
27
28
29
30
testcms_srcs = files(
  'testcms2.c',
  'testplugin.c',
  'zoo_icc.c',
)

# copy all iccs to the build dir and run the tests there
iccs = [
  'bad.icc', 'crayons.icc', 'new.icc', 'test2.icc', 'test4.icc', 'TestCLT.icc',
  'bad_mpe.icc', 'ibm-t61.icc', 'test1.icc', 'test3.icc', 'test5.icc',
  'toosmall.icc'
]
fs=import('fs')
foreach icc : iccs
  fs.copyfile(icc)
endforeach

testcms = executable(
  'testcms',
  testcms_srcs,
  dependencies: [liblcms2_dep, m_dep],
  c_args: cargs,
)

test(
  'testcms',
  testcms,
  workdir: meson.current_build_dir(),
  timeout: 600,
)