1. 10 Oct, 2021 1 commit
  2. 28 Sep, 2021 1 commit
  3. 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
  4. 30 Aug, 2021 1 commit
  5. 23 Jul, 2021 1 commit
  6. 15 Jul, 2021 2 commits
  7. 10 Jul, 2021 2 commits
  8. 05 Jul, 2021 1 commit
  9. 05 Jan, 2021 1 commit
  10. 27 Jul, 2020 1 commit
  11. 24 Jul, 2020 2 commits
  12. 23 Jul, 2020 2 commits
  13. 19 Jul, 2020 1 commit
  14. 16 Jul, 2020 3 commits
  15. 14 Jul, 2020 2 commits
  16. 08 Jul, 2020 1 commit
  17. 06 Jul, 2020 1 commit
  18. 02 Jul, 2020 2 commits
  19. 29 Jun, 2020 2 commits
  20. 28 Jun, 2020 1 commit
  21. 21 Jun, 2020 1 commit
  22. 17 Jun, 2020 2 commits
  23. 16 Jun, 2020 1 commit
  24. 15 Jun, 2020 7 commits