Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add files to project by type



Such thoughts will be seen by more if filed as bugs or enhancements requests at the ADC bugreporter web site :)

Scott

On Apr 22, 2005, at 1:20 PM, Jeffrey R. Jenkins wrote:

One other thought: have the ability to omit a wild-card (file and/or directory).  In my case, at each directory, we have an "obj" directory where .o files go.  The problem with Xcode is that when I say add "dirX" and recursively add, it also adds the .o files to the project.  No need to do that.

-- jrj

On Apr 22, 2005, at 12:53 PM, Jeffrey R. Jenkins wrote:



On Apr 22, 2005, at 11:48 AM, Chris Espinosa wrote:


On Apr 22, 2005, at 10:44 AM, Jeffrey R. Jenkins wrote:


How can I add just *.c & *.h files to an empty Xcode project? It seems that all I can do is point to a directory and let it recurse through and add all files it sees to the project. I must be missing something.


First, you need to create at least one target in your empty project.  You can't add files until there is at least one target.


I was able to add files w/o having a target.  ??

You should be able to select individual files in the Add Files... sheet.


Yes, I can do that.

If you can do that, you can use multiple selection to choose the .c and .h files to add.

You can always just drag them in from the Finder, too.


The problem is that I have 100s of files in a very complex directory structure.  It is painful to manually add files from each directory (I did it over 2 days).  So, if I sync out a new source tree for a different branch, I have to repeat this painful experience!  It would be so nice to just have a spot to specify a filter of file-types in the Add Files sheet.

And while I am at it, it would be wonderful to have an option to ignore symbolic links when recursively adding files from sub-dirs.  The tree I work in has a sym-link that points to the top of our tree, so imagine the infinite-loop Xcode goes into when traversing the directory structure.  Luckily, I can delete all of these tree-top sym-links, add my files (over a 2 day period) and then easily re-created the sym-links.

Just some thoughts that would make Xcode rock even more!  : )

Chris _______________________________________________
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 _______________________________________________

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
 _______________________________________________
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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Add files to project by type (From: "Jeffrey R. Jenkins" <email@hidden>)
 >Re: Add files to project by type (From: Chris Espinosa <email@hidden>)
 >Re: Add files to project by type (From: "Jeffrey R. Jenkins" <email@hidden>)
 >Re: Add files to project by type (From: "Jeffrey R. Jenkins" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.