1. 28 Jun, 2023 1 commit
  2. 23 Mar, 2023 1 commit
  3. 21 Mar, 2023 1 commit
  4. 04 Mar, 2023 1 commit
    • Matthijs van der Burgh's avatar
      Make sure tests are run in CI (#1170) · 3ff7ab07
      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
      3ff7ab07
  5. 20 Sep, 2022 5 commits
  6. 03 Apr, 2022 1 commit
  7. 01 Apr, 2022 3 commits
  8. 27 Jan, 2022 1 commit
  9. 23 Nov, 2021 1 commit
  10. 10 Oct, 2021 1 commit
  11. 28 Sep, 2021 1 commit
  12. 25 Sep, 2021 1 commit
    • Pino Toscano's avatar
      Hide most of non-public symbols by default (#984) · da1c8d36
      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.
      da1c8d36
  13. 10 Jul, 2021 1 commit
  14. 08 Jul, 2020 1 commit
  15. 24 May, 2020 1 commit
  16. 29 Apr, 2020 2 commits
    • deflinhec's avatar
      Make debug postfix optional (#856) · 513ee81f
      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
      513ee81f
    • Ian Taylor's avatar
      Fix clang format (#854) · 9f2781b5
      Ian Taylor authored
      Fix invocation of clang-format in CMakeLists and apply clang-format.
      9f2781b5
  17. 29 Nov, 2019 1 commit
  18. 31 Oct, 2019 1 commit
  19. 13 Oct, 2019 1 commit
  20. 04 Oct, 2019 1 commit
  21. 27 Sep, 2019 3 commits
    • Andy Maloney's avatar
    • Isabella Muerte's avatar
      Fix `DEBUG_POSTFIX` property (#746) · 9d7e556e
      Isabella Muerte authored
      The generator expressions here are actually unnecessary, now that I think about it.
      
      This should fix #745
      9d7e556e
    • Isabella Muerte's avatar
      Refactor CMake to use more modern paradigms (#741) · 5e9cb012
      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
      5e9cb012
  22. 25 Sep, 2019 1 commit
  23. 15 Sep, 2019 1 commit
  24. 10 Sep, 2019 3 commits
  25. 13 Mar, 2019 1 commit
    • Ted Lyngmo's avatar
      Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) · 0d5c5715
      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".
      0d5c5715
  26. 27 Feb, 2019 1 commit
  27. 06 Jan, 2019 1 commit
  28. 19 Nov, 2018 1 commit
    • Joel Frederico's avatar
      Don't stomp on build flags (#635) · 2443da52
      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.
      2443da52
  29. 18 Nov, 2018 1 commit