mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
Add unittest structure.
No tests, just everything to add tests later.
This commit is contained in:
28
subprojects/gtest/googlemock/meson.build
Normal file
28
subprojects/gtest/googlemock/meson.build
Normal file
@ -0,0 +1,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', '.')
|
||||
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')
|
||||
)
|
Reference in New Issue
Block a user