I am following this link:
https://docs.cocos.com/cocos2d-x/manual/en/editors_and_tools/prebuilt_libraries.html
But when I run:
cocos gen-libs
(with any argument or even no argument)
I receive the message:
Error: argument 'gen-libs' not found.
Is it not possible to generate prebuilt libraries with v4 ? Does that mean in every project we need a copy of cocos2d-x and need to build from scratch ?