- 23 Nov, 2021 1 commit
-
-
Pavel Karelin authored
Partial revert of "Revert "Revert "Hide most of non-public symbols by default (#984)" (#1038)" (#1045)" This reverts commit 0733aeb4.
-
- 10 Oct, 2021 1 commit
-
-
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.
-
- 10 Jul, 2021 1 commit
-
-
Jesse Beder authored
-
- 08 Jul, 2020 1 commit
-
-
Tom Collins authored
Per https://cmake.org/cmake/help/latest/policy/CMP0091.html, we need to enable policy CMP0091 if we want to make use of MSVC_RUNTIME_LIBRARY and/or CMAKE_MSVC_RUNTIME_LIBRARY. Fixes issue #912.
-
- 24 May, 2020 1 commit
-
-
Hans-Peter Gygax authored
-
- 29 Apr, 2020 2 commits
-
-
deflinhec authored
Library debug postfix might not be suitable for cross platform project, and usually require extra work of link against prebuilt yaml-cpp. Generally, Xcode project output library to these directories: Debug Release Debug-iphoneos Release-iphoneos Debug-iphonesimulator Release-iphonesimulator Another Xcode project usually configured its build setting as follow, and expects library name to be same between Release and Debug LIBRARY_SEARCH_PATHS=$(CONFIGURATION)$(EFFECT_PLATFORM_NAME) OTHER_LDFLAGS= $(inherited) -lyaml-cpp -
Ian Taylor authored
Fix invocation of clang-format in CMakeLists and apply clang-format.
-
- 29 Nov, 2019 1 commit
-
-
Carlos Gomes Martinho authored
Change the namespace from yaml::yaml to yaml-cpp::yaml-cpp.
-
- 31 Oct, 2019 1 commit
-
-
Mike Egger authored
-
- 13 Oct, 2019 1 commit
-
-
Isabella Muerte authored
🐛 Fixes #748 (#770)
-
- 04 Oct, 2019 1 commit
-
-
Fatih YAZICI authored
Add empty list of sources to add_library and add_executable.
-
- 27 Sep, 2019 3 commits
-
-
Andy Maloney authored
-
Isabella Muerte authored
The generator expressions here are actually unnecessary, now that I think about it. This should fix #745
-
Isabella Muerte authored
Remove 2.6-isms Remove 2.8-isms Bump CMake minimum version to 3.4 Disable some options when used as a subdirectory Use `CONFIGURE_DEPENDS` with `file(GLOB)` when possible Backport CMake 3.15's MSVC_RUNTIME_LIBRARY setting. Set all compile options as generator expressions. Set all find-package files to be installed to the correct file. Remove `export(PACKAGE)`, as this has been deprecated. Remove fat binary support Remove manual setting of iPhone settings. These should be set by parent projects. Remove use of ExternalProject for a local use Conditionally remove format target unless clang-format is found
-
- 25 Sep, 2019 1 commit
-
-
Jesse Beder authored
-
- 15 Sep, 2019 1 commit
-
-
Andy Maloney authored
-
- 10 Sep, 2019 3 commits
-
-
Andy Maloney authored
* CMake: Prefix options with "YAML" and hide platform-specific options When including yaml-cpp as a subproject, some option names can conflict with other projects. (1) Make sure the yaml-cpp options are prefixed with YAML (2) Hide platform-specific options when possible to avoid cluttering the cmake option list * Update docs for change from BUILD_SHARED_LIBS to YAML_BUILD_SHARED_LIBS
-
Andy Maloney authored
Setting CMAKE_CXX_STANDARD and CMAKE_CXX_STANDARD_REQUIRED directly is problematic when including yaml-cpp as a subproject. The proper way is to set these per-target.
-
Andy Maloney authored
This sets the other variables: https://cmake.org/cmake/help/latest/command/project.html
-
- 13 Mar, 2019 1 commit
-
-
Ted Lyngmo authored
* Add compilation flags: -Wshadow -Weffc++ -pedantic -pedantic-errors * Delete implicit copy & move constructors & assignment operators in classes with pointer data members. * An exception to the above: Add default copy & move constructors & assignment operators for the Binary class. * Convert boolean RegEx operators to binary operators. * Initialize all members in all classes in ctors. * Let default ctor delegate to the converting ctor in Binary and RegEx * Don't change any tests except regex_test (as a result of the change to binary operators). Note: https://bugzilla.redhat.com/show_bug.cgi?id=1544675 makes -Weffc++ report a false positive in "include/yaml-cpp/node/impl.h".
-
- 27 Feb, 2019 1 commit
-
-
Olli Wang authored
NDK now uses ninja for building but yaml-cpp would emit the “ninja: error: build.ninja:326: bad $-escape (literal $ must be written as $$)” error due to syntax error in the generated build.ninja file. Related issue: https://github.com/jbeder/yaml-cpp/issues/630
-
- 06 Jan, 2019 1 commit
-
-
pent0 authored
-
- 19 Nov, 2018 1 commit
-
-
Joel Frederico authored
Let CMake handle the default optimizations for various configurations. We don't need to override them. In fact, overriding them makes it impossible for users to override them themselves.
-
- 18 Nov, 2018 1 commit
-
-
Lassi Hämäläinen authored
- Option defaults to ON and setting it to OFF, disables install target generation
-
- 03 Sep, 2018 1 commit
-
-
Azamat H. Hackimov authored
Roll-forward of c90c08cc "Revert "Improvements to CMake buildsystem (#563)"" NEW: * Replace CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR Fixes #612 when yaml-cpp is used as a git submodule. ORIGINAL: * Move enable_testing() into proper place * Added CMake's checks for C++11 standards Raised minimal version of CMake to 3.1, since on old systems there no decent compilers that supports c++11. Closes #377. * Externalize googletest project Externalize gtest to avoid installation, fixes #539. * Remove defined cmake_policies CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed CMP0015 - does not affect to build process CMP0042 - already NEW for >=cmake-3.1 Fixes #505 * Fix compiling in Windows MSVC
-
- 09 Aug, 2018 2 commits
-
-
Jesse Beder authored
This reverts commit 3e33bb31. The original commit broke the build (#612) when yaml-cpp is used as a git submodule.
-
Azamat H. Hackimov authored
* Move enable_testing() into proper place * Added CMake's checks for C++11 standards Raised minimal version of CMake to 3.1, since on old systems there no decent compilers that supports c++11. Closes #377. * Externalize googletest project Externalize gtest to avoid installation, fixes #539. * Remove defined cmake_policies CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed CMP0015 - does not affect to build process CMP0042 - already NEW for >=cmake-3.1 Fixes #505 * Fix compiling in Windows MSVC
-
- 05 May, 2018 1 commit
-
-
Patrick Stotko authored
-
- 06 Mar, 2018 1 commit
-
-
Jesse Beder authored
It was incorrectly left at 0.6.0 when 0.6.1 was released, so this needs to be done to make it consistent between the tagged version and the CMake version.
-
- 28 Jan, 2018 1 commit
-
-
Jesse Beder authored
-
- 14 Nov, 2017 1 commit
-
-
Matthew Woehlke authored
Don't build tests if the confusingly named YAML_CPP_BUILD_TOOLS is ON. Instead, add a new option that controls only if the tests are built. (Also, default tests to OFF.)
-
- 10 Nov, 2017 2 commits
-
-
Matthew Woehlke authored
Remove use of CMAKE_INSTALL_PREFIX when specifying install destinations. It is preferred that install destinations are specified as relative paths, not absolute paths. This is also needed to create relocatable installs, and thus should fix #526.
-
Matthew Woehlke authored
Don't install LIBRARIES on Windows to `bin`; they belong in `lib`. (This appears to have been done in a mistaken attempt to install the DLL's to `bin`, which do need to be there, but RUNTIME DESTINATION already takes care of this.)
-
- 03 Dec, 2016 1 commit
-
-
Jens Breitbart authored
-
- 11 Nov, 2016 1 commit
-
-
James E. King, III authored
Fix compiler flags for MSVC_STATIC_RT=OFF builds
-
- 02 Oct, 2016 1 commit
-
-
Jamie Snape authored
CMake policy CMP0042 changes the default value of the MACOSX_RPATH target property to TRUE, therefore setting the directory portion of the install_name field of a shared library to be @rpath on OS X.
-
- 28 Mar, 2016 1 commit
-
-
Paul Novotny authored
This adds yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and yaml-cpp-targets.cmake to the cmake install. As a result, cmake's find_package can easily find yaml-cpp for software that depends on yaml-cpp. Add code to install cmake files to $CMAKE_INSTALL_PREFIX/CMake on Windows, which is the de-facto standard. Closes jbeder/yaml-cpp#336 jbeder/yaml-cpp#127
-
- 31 Jan, 2016 1 commit
-
-
Rodrigo Hernandez authored
-