Inside {CW10 install folder}\eclipse there is ecd.exe which is used to run build projects from command line.
this article focuses on ecd.exe usage with examples.
Especially How to use ecd.exe command to build, generateMakefiles,make and reference a project.