yaml-cpp/test
Pierre Wendling c26e047223
CMake: Fixes for generated config (#1212)
* CMake: Add option to set the package install dir.

* CMake: Fix generated config.

- `YAML_CPP_SHARED_LIBS_BUILT` should not be set with a `PATH_VAR` as it
would always evaluate to true.
- `YAML_CPP_LIBRARIES` should used the exported target name including
the namespace, but `check_required_components` shouldn't.
- Use `CMAKE_CURRENT_LIST_DIR` to find the target file, instead of a
`PATH_VAR`. Package managers such as vcpkg move CMake configs after
installing.

* CI: Test the generated CMake package.

* CMake: Create add a deprecated yaml-cpp target.

This target is meant to provide compatibility with versions prior to
0.8.0.

* CMake: mark the yaml-cpp target as IMPORTED.

---------

Co-authored-by: Jesse Beder <jbeder+github@gmail.com>
2023-10-12 11:48:16 -04:00
..
cmake CMake: Fixes for generated config (#1212) 2023-10-12 11:48:16 -04:00
gtest-1.11.0 Update gtest to 1.11.0 (#1086) 2022-02-17 12:08:56 -06:00
integration Include property nodes in the long key check (#1140) 2022-10-04 18:51:53 -05:00
node node/convert: support conversion for std::string_view (#1148) 2023-07-24 14:51:05 -05:00
binary_test.cpp Use static_cast<unsigned char> on DecodeBase64 to prevent SEGV on negative values (#1051) 2021-10-20 10:18:08 -05:00
BUILD.bazel Add bazel Support (#724) 2019-09-27 10:11:38 -05:00
CMakeLists.txt Fix testsuite with gcc-13 (#1216) 2023-08-19 15:36:16 -04:00
create-emitter-tests.py Add optional OnAnchor method to EventHandler (#530) 2019-03-12 15:24:32 -07:00
handler_test.h Factored out HandlerTest as a base class 2014-03-23 16:26:44 -05:00
main.cpp Convert node tests to gtest 2014-03-23 19:21:13 -05:00
mock_event_handler.h Small readability improvements in Parser 2019-11-23 13:17:02 -06:00
ostream_wrapper_test.cpp Refactor CMake to use more modern paradigms (#741) 2019-09-27 09:59:53 -05:00
parser_test.cpp Fix stack overflow (#807) 2020-04-09 13:02:10 -05:00
regex_test.cpp Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) 2019-03-13 15:18:34 -07:00
specexamples.h Supplement test cases for 2.19 ~ 2.22 schema tags. (#857) 2020-05-12 13:20:45 -05:00