gen c++ project from spec file