My question is how can I create and Xcode project from the command line. By create I don\'t mean building a project. I mean how can i create a project forlder i.e shift + cm
Cmake will create Xcode projects along with any other type of build file you could desire. It is heavily customizable and can handle multiple targets, dependencies, linking, and any other property you could image. It has a steep learning curve but is a very very powerful tool. We currently use cmake to genererate both the Xcode and visual studio solution from the same code base.
The simplest example of cmake is $cmake -G "Xcode" ...args...
this would create and all all the nessecary files to your project from your args.
Here is the main page: http://www.cmake.org