Skip to content
Snippets Groups Projects
Commit 2c470833 authored by AlQuemist's avatar AlQuemist
Browse files

MakePythonAPI: Produce Python interfaces to the C++ libraries

* The Python interface to a shared library is made via MakePythonAPI module.
  - Moved installation-related parts from MakeSwigLib to MakePythonAPI;
  - Moved Wheel-related parts from MakeSwigLib to MakePythonAPI.

* Differentiate between `BORNAGAIN_PYTHON` variable and `WITH_PYTHON_API`
argument:
  + BORNAGAIN_PYTHON = Add Python-related functionality to the C++ libraries;
  + WITH_PYTHON_API = Add a Python interface to the C++ libraries;
    currently made with SWIG.

* Add OUTPUT_DIR to MakeSharedLib to allow setting an output folder for the shared library.
parent 16abc829
No related branches found
No related tags found
1 merge request!593Build and perform the tests for all Python versions (Major change)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment