v0.4.0
News
Output
-
Renamed the bindings output file from
{library}.cpp
to{library}_{language}.cpp
- This matches what the
target
is called inCMake
- If you are using the
CMake
wrappers this is an internal change
- This matches what the
-
Vastly improved the readability of the
WebAssembly
bindings- Removed excessive whitespace when binding multiple namespaces
- Fixed indentation when using public enums within classes
Minor
- Removed
SYSTEM
when creating aCPython
library withpybind11
since it no longer has any effect
If you want to include pybind11
as a system header then add the following after calling tolc_create_bindings
:
set_property(TARGET pybind11::pybind11 APPEND PROPERTY NO_SYSTEM_FROM_IMPORTED)