Had another 48hr game jam this weekend...
Michel Fortin
michel.fortin at michelf.ca
Sun Sep 1 07:59:46 PDT 2013
On 2013-09-01 13:29:21 +0000, Jacob Carlborg <doob at me.com> 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
michel.fortin at michelf.ca
http://michelf.ca
More information about the Digitalmars-d
mailing list