How to use a specific C++ compiler with Python CFFI?
We have an existing large C++ project which we build using a wide range of compilers and their versions (msvc, gcc, clang).
I would like to add a Python wrapper around the unit tests of the project, preferably using the CFFI Python library.
I need to ensure that the CFFI uses the same compiler as the project itself. Is there a way to initialize the CFFI with a path to a specific C++ toolchain?
I've asked this question on SO over a month ago: https://stackoverflow.com/q/75896430/1261153