basic compile framework for all project.