1. 30 Jun, 2020 1 commit
    • Takahiro Ishikawa's avatar
      Fix python.lib name · 3618807d
      Takahiro Ishikawa authored
      pybind11_add_module fails because FindPythonLibsNew.cmake try to link PythonXX.lib, but the first letter "p" should be lowercase.
      3618807d
  2. 26 Apr, 2020 5 commits
  3. 04 Mar, 2020 1 commit
  4. 22 Jan, 2020 1 commit
  5. 05 Jan, 2020 1 commit
  6. 14 Nov, 2019 1 commit
  7. 31 Oct, 2019 1 commit
  8. 23 Aug, 2019 1 commit
  9. 13 Aug, 2019 1 commit
  10. 11 Jun, 2019 11 commits
  11. 12 May, 2019 1 commit
  12. 24 Oct, 2018 2 commits
  13. 14 Sep, 2018 1 commit
  14. 29 Aug, 2018 2 commits
  15. 11 Jan, 2018 1 commit
  16. 02 Nov, 2017 1 commit
    • Unknown's avatar
      Trivial typos · 0b3f44eb
      Unknown authored
      Non-user facing. 
      Found using `codespell -q 3`
      0b3f44eb
  17. 10 Sep, 2017 1 commit
  18. 17 Aug, 2017 1 commit
  19. 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
  20. 23 Jul, 2017 1 commit
  21. 16 Jul, 2017 1 commit
    • Jason Rhinelander's avatar
      Detect c++ standard unconditionally · fad5d338
      Jason Rhinelander authored
      Currently select_cxx_standard(), which sets PYBIND11_CPP_STANDARD when
      not externally set, is only called from pybind11_add_module(), but the
      embed target setup (which runs unconditionally) makes use of
      ${PYBIND11_CPP_STANDARD}, which isn't set yet.  This commit removes the
      `select_cxx_standard` function completely and just always runs the
      standard detection code.
      
      This also tweaks the detection code to not bothering checking for the
      `-std=c++11` flag when the `-std=c++14` detection succeeded.
      fad5d338
  22. 14 Jun, 2017 1 commit
    • Jason Rhinelander's avatar
      Make check-style.sh work on stock macOS · d080f833
      Jason Rhinelander authored
      ./tools/check-style.sh fails on stock OS X currently; this fixes it:
      
      - use pipes directly rather than exec redirection (macOS's ancient
        version of bash fails with the latter)
      - macOS's ancient bash doesn't support '\e' escapes in `echo -e`;
        replace with \033 instead
      - BSD grep doesn't support GREP_COLORS, but does allow GREP_COLOR.
        Adding both doesn't hurt GNU grep: GREP_COLOR is deprecated, and won't
        be used when GREP_COLORS is set.
      - BSD grep doesn't collapse multiple /'s in the listed filename, so
        failures under `include/` would should up as
        `include//pybind11/whatever.h`.  This removes the / from the include
        directory argument.
      
      Minor other changes:
      - The CRLF detection runs with -l, so GREP_COLORS wasn't doing
        anything; removed it.
      - The trailing whitespace test would trigger on CRLFs, but the CR would
        result in messed up output.  Changed the test to just match trailing
        spaces and tabs, rather than all whitespace.
      d080f833
  23. 28 May, 2017 2 commits