Re: [C++-sig] Compiling boost python

2020-04-30 Thread Axel Huebl
Hi, Check out the bazel example or the plain build with setuptools: https://github.com/pybind/ https://github.com/pybind/python_example Axel On April 30, 2020 9:05:39 AM PDT, Andrew Voelkel wrote: >The examples all use cmake, and there is a cmake extension for pybind11 >that takes care of a n

Re: [C++-sig] Compiling boost python

2020-04-30 Thread Andrew Voelkel
The examples all use cmake, and there is a cmake extension for pybind11 that takes care of a number of things for you. From the docs: For C++ codebases that have an existing CMake-based build system, a Python extension module can be created with just a few lines of code: cmake_minimum_required(V

Re: [C++-sig] Compiling boost python

2020-04-30 Thread Skip Montanaro
> How the cmake support for pybind ? I don't know cmake, but I did use pybind11 at my last job. It's nothing more than header files (no libraries to link). I doubt it would be difficult to support. Skip ___ Cplusplus-sig mailing list Cplusplus-sig@pytho

Re: [C++-sig] Compiling boost python

2020-04-30 Thread Alain O' Miniussi
But having one more lib outside boost means one more dependency. The sad thing is that dropping support for "the oldest and buggiest of compiler specimens" in Boost would be rational to do, there are plenty of old Boost releases for those. How the cmake support for pybind ? - On 29 Avr