Re: Add files to project by type
Re: Add files to project by type
- Subject: Re: Add files to project by type
- From: "Jeffrey R. Jenkins" <email@hidden>
- Date: Fri, 22 Apr 2005 12:53:59 -0700
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