mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
97aa54fefa
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. |
||
---|---|---|
.. | ||
cast | ||
pycpp | ||
classes.rst | ||
embedding.rst | ||
exceptions.rst | ||
functions.rst | ||
misc.rst | ||
smart_ptrs.rst |