Add BuildProject function.