add generate and build project with subproject