How to use a specific C++ compiler with Python CFFI?

159 Views Asked by At

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 our C++ compiler?

[A meta question: did I set the correct tags for this question?]

0

There are 0 best solutions below