Optimize the implementation of hen-prebuilt tools.
Consider the lua-bindings when generating prebuilt engine.
Store the version of engine into the prebuilt engine.
Merge branch 'v3' into gen-prebuilt-script
Modify the gen-prebuilt tools for the lua-bindings modules.
Merge branch 'v3' into gen-prebuilt-script
Modify the gen-prebuilt tools for the lua-bindings modules.
Merge pull request #7735 from natural-law/gen-prebuilt-script

Optimize the implementation of gen-prebuilt tools.