Mixed-language Projects

In this chapter, we will cover the following recipes:

  • Building Fortran projects that use C/C++ libraries
  • Building C/C++ projects that use Fortran libraries
  • Building C++ and Python projects using Cython
  • Building C++ and Python projects using Boost.Python
  • Building C++ and Python projects using pybind11
  • Mixing C, C++, Fortran, and Python using Python CFFI

Get CMake Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.