September 2018
Intermediate to advanced
606 pages
14h 32m
English
The ${CMAKE_CURRENT_BINARY_DIR} directory contains the compiled account.cpython-36m-x86_64-linux-gnu.so Python module built using pybind11, but note that its name depends on the operating system (in this case, 64-bit Linux) and the Python environment (in this case, Python 3.6). The setup.py script will run CMake under the hood and install the Python module into the correct path, depending on the selected Python environment (system Python or Pipenv or Virtual Environment). But now we have two challenges when installing the module:
We can solve this by using the following install target, where setup.py will define the install target location:
install( TARGETS account LIBRARY ...
Read now
Unlock full access