Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to compile a single file in Xcode 5?

Tags:

I'm talking about a functionality such that you can just quickly open a .cpp file (C++ console application, nothing regarding Apple ecosystem), work on it, compile and run, without all the project creating mumbo-jumbo. When I open a file with code, all the "Product" options are greyed out for me but after some googling, I found posts claiming that Xcode 5 was to be the first one offering such functionality. Has it been implemented and it's just available elsewhere or were they false rumors and you still have to create a project and import a file there?

like image 856
Straightfw Avatar asked Dec 06 '13 00:12

Straightfw


1 Answers

Or if you want a shortcut: CTRL + COMMAND + B.

like image 98
Ajmal Kunnummal Avatar answered Sep 20 '22 19:09

Ajmal Kunnummal