1. 31 Jul, 2020 1 commit
  2. 26 Apr, 2020 2 commits
  3. 10 Jun, 2019 1 commit
  4. 29 Aug, 2018 1 commit
    • Axel Huebl's avatar
      add_module: allow include as SYSTEM (#1416) · 435dbdd1
      Axel Huebl authored
      pybind11 headers passed via the `pybind11_add_module` CMake
      function can now be included as `SYSTEM` includes (`-isystem`).
      
      This allows to set stricter (or experimental) warnings in
      calling projects that might throw otherwise in headers
      a user of pybind11 can not influence.
      435dbdd1
  5. 30 Aug, 2017 1 commit
  6. 17 Aug, 2017 1 commit
    • Dean Moldovan's avatar
      Fix documentation build · 8665ee81
      Dean Moldovan authored
      * Doxygen needs `RECURSIVE = YES` in order to parse the `detail` subdir.
      
      * The `-W` warnings-as-errors option for sphinx doesn't work with the
        makefile build. Switched to calling sphinx directly.
      
      * Fix "citation [cppimport] is not referenced" warning.
      8665ee81
  7. 14 Aug, 2017 1 commit
    • Jason Rhinelander's avatar
      Compile with hidden visibility always; set via cmake property rather than compiler flag · 97aa54fe
      Jason Rhinelander authored
      This updates the compilation to always apply hidden visibility to
      resolve the issues with default visibility causing problems under debug
      compilations.  Moreover using the cmake property makes it easier for a
      caller to override if absolutely needed for some reason.
      
      For `pybind11_add_module` we use cmake to set the property; for the
      targets, we append to compilation option to non-MSVC compilers.
      97aa54fe
  8. 31 May, 2017 1 commit
  9. 28 May, 2017 1 commit
  10. 09 May, 2017 1 commit
    • Jason Rhinelander's avatar
      Make PYBIND11_CPP_STANDARD work under MSVC · 77710ff0
      Jason Rhinelander authored
      Under MSVC we were ignoring PYBIND11_CPP_STANDARD and simply not
      passing any standard (which makes MSVC default to its C++14 mode).
      
      MSVC 2015u3 added the `/std:c++14` and `/std:c++latest` flags; the
      latter, under MSVC 2017, enables some C++17 features (such as
      `std::optional` and `std::variant`), so it is something we need to
      start supporting under MSVC.
      
      This makes the PYBIND11_CPP_STANDARD cmake variable work under MSVC,
      defaulting it to /std:c++14 (matching the default -std=c++14 for
      non-MSVC).
      
      It also adds a new appveyor test running under MSVC 2017 with
      /std:c++latest, which runs (and passes) the
      `std::optional`/`std::variant` tests.
      
      Also updated the documentation to clarify the c++ flags and add show
      MSVC flag examples.
      77710ff0
  11. 26 Dec, 2016 1 commit
  12. 19 Dec, 2016 2 commits
  13. 13 Dec, 2016 2 commits
  14. 06 Sep, 2016 1 commit
  15. 03 Jun, 2016 2 commits
  16. 26 May, 2016 1 commit
  17. 17 May, 2016 1 commit
  18. 05 May, 2016 1 commit
  19. 01 May, 2016 1 commit
  20. 28 Apr, 2016 1 commit
  21. 09 Mar, 2016 1 commit
  22. 07 Feb, 2016 1 commit
  23. 21 Jan, 2016 1 commit
  24. 20 Jan, 2016 1 commit
  25. 17 Jan, 2016 5 commits
  26. 07 Dec, 2015 1 commit
  27. 13 Oct, 2015 2 commits