Solve the error output directory of cpp projects.
Merge pull request #137 from natural-law/develop

Solve the error output directory of cpp projects.