We will start out with the following file tree:
.├── account│ ├── account.h│ ├── CMakeLists.txt│ ├── implementation│ │ └── fortran_implementation.f90│ ├── __init__.py│ ├── interface_file_names.cfg.in│ ├── test.py│ └── version.py├── CMakeLists.txt├── MANIFEST.in├── README.rst└── setup.py
The top-level CMakeLists.txt file and all sources below account, except account/CMakeLists.txt, are unchanged from how they appeared in Chapter 9, Mixed-language Projects, Recipe 6, Mixing C, C++, Fortran, and Python using Python CFFI. We will shortly discuss the small changes we need to apply to account/CMakeLists.txt. The README.rst file is identical with the previous recipe. The setup.py script contains one extra line compared to the previous ...