cmake_example icon indicating copy to clipboard operation
cmake_example copied to clipboard

Example pybind11 module built with a CMake-based build system

Results 28 cmake_example issues
Sort by recently updated
recently updated
newest added

Can I create a module called "cmake_sub_example" in a subdirectory with the same title? I am trying this because I want to use it in a bigger project where I...

I tried to build this example on Windows, but ran into an error. Versions: * Windows 10 Pro 64bit * Python 3.6.1 32 bit * CMake 3.9.1 ``` D:\github>pip install...

updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.3...v0.3.4)

This PR adds a GHA workflow exemplifying usage of pybind11-built Python package from the Matlab Python interface. The GHA uses the https://github.com/matlab-actions/setup-matlab action to enable access to licensed Matlab. It...

Since we can specify setup dependencies in pyproject.toml, pybind11 could be added here instead of placed directly under the root of the repo, which make the repo structure more compact....

Hello, I'm currently learning how to use CMake and pybind11 with this project. As part of the installation process, I need to build and install a C++ source file. To...

my code uses a very old version of pybind: `2.6.0` and everything works fine. I have two modules, `liba` and `libb` With `2.6.0` I have: ``` >>> import liba >>>...

Hello Thanks for this awesome test! I'm lost with customization tho... How can I specify python in CMakeList.txt file? I build this file without using your python. setup routine tho......

It would be really nice if instead of needing to install the package using `pip install ./cmake_example`, you could use Poetry's built-in shell to run the package locally. I do...

Hey So I have a little complex library here and I need to be "in control" of what goes where/how... Here is my RnD test that "builds" but fails to...