Lines Matching refs:pybind11
5 pybind11::pybind11 - link to headers and pybind11
6 pybind11::module - Adds module links
7 pybind11::embed - Adds embed links
8 pybind11::lto - Link time optimizations (manual selection)
9 pybind11::thin_lto - Link time optimizations (manual selection)
10 pybind11::python_link_helper - Adds link to Python libraries
11 pybind11::python2_no_register - Avoid warning/error with Python 2 + C++14/7
12 pybind11::windows_extras - MSVC bigobj and mp for building multithreaded
13 pybind11::opt_size - avoid optimizations that increase code size
23 if(TARGET pybind11::lto)
33 TARGET pybind11::headers
40 # include pybind11's include directory:
43 CACHE INTERNAL "Include directory for pybind11 (Python not requested)")
48 add_library(pybind11::pybind11 IMPORTED INTERFACE ${optional_global})
50 TARGET pybind11::pybind11
52 PROPERTY INTERFACE_LINK_LIBRARIES pybind11::headers)
55 add_library(pybind11::module IMPORTED INTERFACE ${optional_global})
57 TARGET pybind11::module
59 PROPERTY INTERFACE_LINK_LIBRARIES pybind11::pybind11)
62 add_library(pybind11::embed IMPORTED INTERFACE ${optional_global})
64 TARGET pybind11::embed
66 PROPERTY INTERFACE_LINK_LIBRARIES pybind11::pybind11)
75 add_library(pybind11::python2_no_register INTERFACE IMPORTED ${optional_global})
89 TARGET pybind11::python2_no_register
95 add_library(pybind11::python_link_helper IMPORTED INTERFACE ${optional_global})
101 TARGET pybind11::python_link_helper
109 TARGET pybind11::python_link_helper
116 add_library(pybind11::windows_extras IMPORTED INTERFACE ${optional_global})
122 TARGET pybind11::windows_extras
128 TARGET pybind11::windows_extras
137 TARGET pybind11::windows_extras
145 add_library(pybind11::opt_size IMPORTED INTERFACE ${optional_global})
154 TARGET pybind11::opt_size
349 if(CMAKE_PROJECT_NAME STREQUAL "pybind11")
353 if(CMAKE_PROJECT_NAME STREQUAL "pybind11")
373 add_library(pybind11::lto IMPORTED INTERFACE ${optional_global})
374 _pybind11_generate_lto(pybind11::lto FALSE)
376 add_library(pybind11::thin_lto IMPORTED INTERFACE ${optional_global})
377 _pybind11_generate_lto(pybind11::thin_lto TRUE)