This PR does a very big refactor. Now only one script is needed . All the platform dependent values are written in config files. Each platform has one config file.
The usage of script is also unified.
./build.sh -p=[platform name] --libs=[library names] --arch=[arch names] --mode=[debug or release]
There are still a little hardcoded values exists. I will refactor it later.
Document is also updated in the PR.
Please help me to test the script, thanks.