1. 26 Dec, 2016 1 commit
    • Jason Rhinelander's avatar
      Avoid CMP0048 warning (#570) · a3fec901
      Jason Rhinelander authored
      Fixes #567.
      
      If pybind's CMakeLists gets loaded via an include_directory from another
      CMakeLists with a higher minimum version (e.g. 3.0), the project()
      command without a version produces a CMP0048 warning.
      
      This commit explicitly requests the new behaviour if the policy exists,
      as it won't cause problems (we set VERSION later).
      a3fec901
  2. 19 Dec, 2016 2 commits
    • Dean Moldovan's avatar
      Rename target from pybind11::pybind11 to pybind11::module · 71e8a796
      Dean Moldovan authored
      Makes room for an eventual pybind11::embedded target.
      71e8a796
    • Dean Moldovan's avatar
      Make sure add_subdirectory and find_package behave identically · b0f3885c
      Dean Moldovan authored
      Add a BUILD_INTERFACE and a pybind11::pybind11 alias for the interface
      library to match the installed target.
      
      Add new cmake tests for add_subdirectory and consolidates the
      .cpp and .py files needed for the cmake build tests:
      
      Before:
      tests
      |-- test_installed_module
      |   |-- CMakeLists.txt
      |   |-- main.cpp
      |   \-- test.py
      \-- test_installed_target
          |-- CMakeLists.txt
          |-- main.cpp
          \-- test.py
      
      After:
      tests
      \-- test_cmake_build
          |-- installed_module/CMakeLists.txt
          |-- installed_target/CMakeLists.txt
          |-- subdirectory_module/CMakeLists.txt
          |-- subdirectory_target/CMakeLists.txt
          |-- main.cpp
          \-- test.py
      b0f3885c
  3. 13 Dec, 2016 3 commits
  4. 15 Nov, 2016 1 commit
  5. 09 Oct, 2016 2 commits
  6. 29 Sep, 2016 1 commit
  7. 13 Sep, 2016 1 commit
  8. 26 Aug, 2016 1 commit
    • Dean Moldovan's avatar
      Add barebones build to Travis CI · b62a896f
      Dean Moldovan authored
      This build makes sure everything still works without optional
      dependencies (numpy/scipy/eigen) and also tests the automatic
      discovery functions in CMake (Python version, C++ standard).
      
      [skip appveyor]
      b62a896f
  9. 19 Aug, 2016 1 commit
    • Dean Moldovan's avatar
      Port tests to pytest · a0c1ccf0
      Dean Moldovan authored
      Use simple asserts and pytest's powerful introspection to make testing
      simpler. This merges the old .py/.ref file pairs into simple .py files
      where the expected values are right next to the code being tested.
      
      This commit does not touch the C++ part of the code and replicates the
      Python tests exactly like the old .ref-file-based approach.
      a0c1ccf0
  10. 15 Aug, 2016 1 commit
  11. 02 Aug, 2016 1 commit
  12. 01 Aug, 2016 1 commit
  13. 02 Jun, 2016 1 commit
  14. 29 May, 2016 2 commits
  15. 28 May, 2016 2 commits
  16. 27 May, 2016 1 commit
  17. 26 May, 2016 2 commits
  18. 25 May, 2016 1 commit
  19. 22 May, 2016 3 commits
  20. 16 May, 2016 1 commit
  21. 15 May, 2016 1 commit
  22. 05 May, 2016 2 commits
  23. 01 May, 2016 1 commit
  24. 30 Apr, 2016 1 commit
  25. 13 Apr, 2016 2 commits
  26. 15 Mar, 2016 1 commit
  27. 10 Mar, 2016 1 commit
  28. 20 Feb, 2016 1 commit
  29. 19 Feb, 2016 1 commit