ON HOLD: CMake predict wheel name
This MR contains some CMake code that predicts the name of the wheel generated by the command $PYTHON -m pip wheel
. This functionality is needed for
- the
OUTPUT
argument ofadd_custom_command
, which is needed for putting wheel generation under CMake control - for fixing some Mac/Conda problem.
There is no easy solution under Python. Pythonistas claim that wheel names are generated according to well defined rules: https://discuss.python.org/t/how-to-predict-name-of-wheel-without-actually-generating-it/51373.