Uses CMake to find python if the Python environment variable is not set. This applies to windows too.
Only tries to copy the output to blender if the Blender environment variable is set (otherwise it tries to copy to /scripts/addons/newtonPy, which fails).
Copies the libnewtonPy.so (or .dll on windows) file to _newton.so on linux, and _newton.pyd on windows.
Uses CMake to find python if the Python environment variable is not set. This applies to windows too.
Only tries to copy the output to blender if the Blender environment variable is set (otherwise it tries to copy to
/scripts/addons/newtonPy
, which fails).Copies the libnewtonPy.so (or .dll on windows) file to
_newton.so
on linux, and_newton.pyd
on windows.