• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding externally managed sources to a project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding externally managed sources to a project


  • Subject: Re: Adding externally managed sources to a project
  • From: Lee Ann Rucker <email@hidden>
  • Date: Mon, 17 Sep 2012 13:14:55 -0700

On Sep 17, 2012, at 12:19 AM, Jean-Denis MUYS wrote:

>
> On 16 sept. 2012, at 11:21, David Mirabito <email@hidden>
> wrote:
>
>>
>>>> Is there some way to tell a project to "reference all .c in this dir" without having to manually add files? Or some way I could 'make refresh' to poke the references in myself?
>>>
>>> When you do "Add Existing Files" there's a "Create Folder References" option - that will pick up all the files in the folder automatically. However in XCode4 those files won't get indexed, so it's less useful than it used to be.
>>
>> That is interesting, thanks! I might try playing around some more with referencing the surrounding src/ and include/ folders, rather than individual files. Not having them be indexed seems like an (unintended?) problem though :(
>
> Last time I tried (for MOGenerator integration), files included in folder references were automatically picked up by the File Navigator, but were not automatically added to any target and therefore were not compiled. This may have changed though.
>



I've been told that XCode4's concept of folder reference is that it's for resources where you don't care which ones get included, not for source files where you don't want just any bit of experimental code getting added just because it's in the same folder. But I use a command-line build system shared with non-Mac platforms, so XCode isn't building my stuff, and the codebase is large enough that without the sort of scripting I wrote to get MPW and Unix makefiles to sync up back when Java was just getting started, it would be a lot of tedious manual comparison to use the other folder mode.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Adding externally managed sources to a project (From: Lee Ann Rucker <email@hidden>)
 >Re: Adding externally managed sources to a project (From: David Mirabito <email@hidden>)
 >Re: Adding externally managed sources to a project (From: Jean-Denis MUYS <email@hidden>)

  • Prev by Date: Build fails if no internet access
  • Next by Date: Building a Dependency with specific flag?
  • Previous by thread: Re: Adding externally managed sources to a project
  • Next by thread: "Potential" Leak of an Object Allocated...
  • Index(es):
    • Date
    • Thread