yaml-cpp/test/meson.build
Lukas Weber 2145c18879 meson build system support
Adds a meson.build file to build yaml-cpp. Meson supports downloading
third-party dependencies (like GTest) automatically if they are not
installed. This change allows meson users to use yaml-cpp very easily
as such a fallback, too.

The resulting installation for standard settings is the same as from
CMake but currently, the cmake package information is missing. Instead,
only the pkgconfig file is provided.
2019-04-05 10:58:13 +02:00

20 lines
532 B
Meson

test_sources = files([
'main.cpp',
'ostream_wrapper_test.cpp',
'regex_test.cpp',
'node/node_test.cpp',
'integration/emitter_test.cpp',
'integration/encoding_test.cpp',
'integration/gen_emitter_test.cpp',
'integration/handler_spec_test.cpp',
'integration/handler_test.cpp',
'integration/load_node_test.cpp',
'integration/node_spec_test.cpp',
])
test_dep = yamlcpp_dep
tests = executable('tests', test_sources,
dependencies : [ gtest_dep, gmock_dep, test_dep ],
include_directories : [ '../src' ])