File: meson.build

package info (click to toggle)
libsoup3 3.6.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 7,304 kB
  • sloc: ansic: 61,963; python: 202; xml: 97; sh: 84; makefile: 33; javascript: 5
file content (20 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
deps = [
  glib_deps,
  libsoup_dep
]

examples = [
  'get',
  'simple-httpd',
  'simple-proxy'
]

if unix_socket_dep.found()
  examples += [ 'unix-socket-client' ]
  examples += [ 'unix-socket-server' ]
  deps += [ unix_socket_dep ]
endif

foreach example: examples
  executable(example, example + '.c', dependencies: deps)
endforeach