- 04 Mar, 2023 2 commits
-
-
Matthijs van der Burgh authored
* Test(CMake) set NAME and COMMAND in add_test * (CMake) add enable_testing() * (CMake) move cmake_dependent_option up, before using them * (CMake) use YAML_CPP_MAIN_PROJECT in cmake_dependent_option * (CMake) log values regarding tests * (CMake) always find CTest, but don't enable tests * (CMAKE)(temp) fix logging * (actions) set YAML_CPP_BUILD_TESTS for tests * (actions) provide YAML_CPP_BUILD_TESTS to ctest * (actions) set -DYAML_CPP_BUILD_TESTS at build * (actions) don't fail false * (actions) build tests in Test step * (actions) run tests verbose * (CMake) remove temp logging * (actions) split building from running tests * (actions) ctest Debug * (actions) ctest Debug * Remove enable_testing
-
Diogo Teles Sant'Anna authored
It secures the repo against erroneous or malicious actions from external jobs you call from your workflow. It's specially important for the case they get compromised, for example.
-
- 02 Mar, 2023 1 commit
-
-
Matthijs van der Burgh authored
-
- 04 Oct, 2022 1 commit
-
-
James Brown authored
-
- 20 Sep, 2022 7 commits
-
-
sfalmo authored
-
Derzsi Dániel authored
This pull request adds two new exported variables to the CMake config: YAML_CPP_LIBRARY_DIR - points to the directory containing the built library files YAML_CPP_SHARED_LIBS_BUILT - boolean value, lets users know whether shared libraries were built or not
-
stephematician authored
Add definitions to static yaml-cpp target (fixes #1116) Also updates CONTRIBUTING instructions for tests
-
Baruch authored
Minimize warnings when not the top-level project Should fix #970 and #764 when trying to add yaml-cpp to other project
-
Timo Gurr authored
-
rdzehtsiar authored
On Oracle Solaris the following statement is declared in file /usr/include/sys/regset.h: #define SS 18 /* only stored on a privilege transition */ Because of this template type name SS is substituted by numeric literal, which results in a compilation error: error: expected nested-name-specifier before numeric constant Fixed by renaming template type names. Co-authored-by:Roman Degtyar <Roman.Degtyar@veeam.com>
-
Skywol authored
-
- 31 May, 2022 1 commit
-
-
Igor [hyperxor] authored
-
- 21 May, 2022 1 commit
-
-
Igor [hyperxor] authored
-
- 27 Apr, 2022 1 commit
-
-
Dr. Andre Vehreschild authored
Windows builds need some defines being set to use the static linking. Also add bazel builds and test to Github-CI.
-
- 21 Apr, 2022 1 commit
-
-
Dr. Andre Vehreschild authored
-
- 19 Apr, 2022 1 commit
-
-
Dr. Andre Vehreschild authored
-
- 03 Apr, 2022 1 commit
-
-
SpaceIm authored
Changes YAML_CPP_INSTALL from a cmake_dependent_option to an option. Fixes #756, #847, and #1011.
-
- 01 Apr, 2022 4 commits
-
-
xiaozhuai, Weihang Ding authored
The option `YAML_CPP_BUILD_TESTS` currently enables or disables building of tests; but unconditionally the CMake file includes CTest; this PR makes that conditional on the option. Also, there is no option for enabling formatting, but it does check whether it can find the `clang-format` executable; this PR adds an option (default to true) that skips even looking for the executable if disabled.
-
Felix Schwitzer authored
After configuring the file `yaml-cpp-config.cmake.in`, the result ends up with empty variables. (see also the discussion in #774). Rework this file and the call to `configure_package_config_file` according the cmake documentation (https://cmake.org/cmake/help/v3.22/module/CMakePackageConfigHelpers.html?highlight=configure_package_config#command:configure_package_config_file) to overcome this issue and allow a simple `find_package` after install. As there was some discussion about the place where to install the `yaml-cpp-config.cmake` file, e.g. #1055, factor out the install location into an extra variable to make it easier changing this location in the future. Also untabify CMakeLists.txt in some places to align with the other code parts in this file.
-
Dr. Andre Vehreschild authored
Complies with YAML Standard [5.4](https://yaml.org/spec/1.2.2/#54-line-break-characters) [25] instead of matching `\r` only in combination with `\n`.
-
Michael Martz authored
Fixes issue #1053.
-
- 17 Feb, 2022 1 commit
-
-
Akash Patel authored
Properly resolves #1083, #996.
-
- 08 Feb, 2022 1 commit
-
-
Sam4uk authored
-
- 27 Jan, 2022 2 commits
-
-
Christian Rauch authored
-
TheVice authored
Also refactor the build action to use a matrix.
-
- 06 Jan, 2022 1 commit
-
-
Chen authored
-
- 15 Dec, 2021 1 commit
-
-
TheVice authored
Add copying of shared library to the output directory with a test binary. [binary] removed using of non unsigned char as argument at 'std::isspace' function that was provokes undefined behavior. [.github/workflows/build.yml] enabled run of test at the 'windows-latest' environment.
-
- 10 Dec, 2021 1 commit
-
-
Jesse Beder authored
-
- 23 Nov, 2021 3 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
This replaces the old Travis CI badge that didn't mean anything.
-
Pavel Karelin authored
Partial revert of "Revert "Revert "Hide most of non-public symbols by default (#984)" (#1038)" (#1045)" This reverts commit 0733aeb4.
-
- 03 Nov, 2021 1 commit
-
-
Ryan Burns authored
GNUInstallDirs provided may be absolute paths, in which case appending to the install prefix is not correct. We can instead use the provided CMAKE_INSTALL_FULL_* variables, which are precomputed absolute paths. https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
-
- 31 Oct, 2021 1 commit
-
-
PhilipDeegan authored
-
- 20 Oct, 2021 1 commit
-
-
Robert Sebastian Herlim authored
-
- 13 Oct, 2021 1 commit
-
-
Michał Janiszewski authored
-
- 10 Oct, 2021 2 commits
-
-
João Marcos Bezerra authored
-
Pino Toscano authored
-
- 28 Sep, 2021 1 commit
-
-
Jesse Beder authored
This reverts commit da1c8d36. and fixes #1036.
-
- 25 Sep, 2021 1 commit
-
-
Pino Toscano authored
* Export YAML::detail::node::m_amount The internal header node/detail/node.h is included by public headers; YAML::detail::node is implemented in the header itself, and thus it gets inlined... except for its static m_amount class member, which is instantiated in the library only. Right now all the symbols of yaml-cpp are exported (nothing is hidden), so the linker will find node::m_amount in the yaml-cpp library. As solution/workaround, explicitly export YAML::detail::node::m_amount. * CMake: use GenerateExportHeader Make use of the GenerateExportHeader CMake module to generate the dll.h header with export macros. While the produced dll.h is different, the result should be the same, i.e. nothing changes for yaml-cpp or its users. * CMake: hide all the symbols by default Hide all the symbols that are not explicitly exported with YAML_CPP_API. This way the ABI will be way smaller, and only actually exposing the public classes/functions.
-
- 30 Aug, 2021 1 commit
-
-
jwindgassen authored
-