On 2013-09-01 13:29:21 +0000, Jacob Carlborg <[email protected]> said:

On 2013-09-01 15:18, Andrej Mitrovic wrote:

How is deprecating makefiles easier than making whatever IDE that
you're using just call a 'make' command when you click a button? Even
VS comes with nmake and friends.

Like the Xcode project does. It calls "make" when building but contains a separate dummy target to allow autocompletion and similar features to work. For some reason those features don't work for make targets.

That's because the Xcode indexer indexes files it knows are included in a target, and Xcode doesn't parse makefiles and thus can't know which files it'll compile (not that it could do so reliably anyway). With another target were all the c/cpp files are marked as being part of it, the indexer does its job.

--
Michel Fortin
[email protected]
http://michelf.ca

Reply via email to