View Single Post
smallmountain

 
Member Since: Aug 12, 2013
Posts: 2
smallmountain is on a distinguished road

smallmountain is offline
Could this be correct? XCode will not let you simply compile a .cpp file to its object file without building the entire project? Visual Studio lets you do this. It is very helpful when you are changing a header file, say with templates in it, that is widely included in your project, but only one or two source files use the template class or function that you are trying to get right. I like to compile the .cpp file to make sure I don't have a stupid error, and then once the .cpp file compiles, then I fire up a build that might take 10 minutes. Maybe I have link errors after the build, so I repeat the cycle, but at least I am not waiting 10 minutes to find out I have a simple error.
QUOTE Thanks