Added script for generating build necessary defines