pybind11/tools
Dean Moldovan b0f3885c95 Make sure add_subdirectory and find_package behave identically
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
2016-12-19 16:34:48 +01:00
..
clang@254c7a91e3 cindex.py updated 2016-07-01 12:21:53 +02:00
check-style.sh check-style.sh: check for accidentally committed CRLF line endings 2016-12-13 00:24:08 +01:00
FindEigen3.cmake transparent conversion of dense and sparse Eigen types 2016-05-05 21:44:29 +02:00
FindPythonLibsNew.cmake Improve FindPythonLibsNew detection of python library directory (#523) 2016-11-22 22:01:03 +01:00
libsize.py Always use return_value_policy::move for rvalues (#510) 2016-11-20 05:31:02 +01:00
mkdoc.py mkdoc.py: improved formatting of code segments and enums 2016-05-20 16:37:13 +02:00
pybind11Config.cmake.in add CMake exported interface library and Config detection file 2016-12-13 21:44:19 +01:00
pybind11Tools.cmake Make sure add_subdirectory and find_package behave identically 2016-12-19 16:34:48 +01:00