File: meson.build

package info (click to toggle)
openvpn3-client 24.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,384 kB
  • sloc: cpp: 180,128; python: 11,591; ansic: 1,878; sh: 1,767; java: 402; lisp: 81; makefile: 44
file content (28 lines) | stat: -rw-r--r-- 932 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
# pkg-config support for GMock is in the master
# branch of the upstream repository.
# In order to be consistent with the upstream
# naming and the library conventions, the
# following changes have been made:
#
#   gmock_mainless_dep -> gmock_dep
#   gmock_with_main_dep -> gmock_main_dep
#
# Both GMock dependencies now include GTest,
# as this mimicks the same behavior as the
# upstream repo.

gmock_incdir = include_directories('include', '.', is_system : true)
gmock_libsources = files('src/gmock-all.cc')
gmock_mainsources = files('src/gmock_main.cc')

gmock_dep = declare_dependency(
	include_directories : [gtest_incdir, gmock_incdir],
	sources : [gtest_libsources, gmock_libsources],
	dependencies : dependency('threads')
)

gmock_main_dep = declare_dependency(
	include_directories : [gtest_incdir, gmock_incdir],
	sources : [gtest_libsources, gmock_libsources, gmock_mainsources],
	dependencies : dependency('threads')
)