Triplet of XCode UI questions
Triplet of XCode UI questions
- Subject: Triplet of XCode UI questions
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Tue, 1 Mar 2005 11:02:46 -0500
- Thread-topic: Triplet of XCode UI questions
I'm running into these problems because I'm trying to keep my XCode
project in sync with a series of makefiles that some of my coworkers are
using. The code that we have is broken up into heavily nested
directories. This makes figuring what each file does extremely simple
because you can look at the directory name to know which platform it
works under, and the filename to figure out what it is (E.g. 'main.c'
shows up in many different directories; Windows/XP/SP1,
Linux/RedHat/FC/*, C99, etc.) Our naming conventions for the
directories makes generating makefiles on the fly easy because you can
just specify the target that you want, and only those directories are
searched for the generation of the makefiles.
And then I hit XCode.
1) I'm not sure how to filter imports of files when pulling in a bunch
of files using XCode. Is there a way? (E.g., import this directory,
but filter the files according to these following rules...)
There is a seperate, older project that was not well documented, nor was
it broken out well. The easiest method for me to handle it is to dump
the entire directory onto XCode, and sort it out from within XCode.
2) Is there a way to get XCode to generate targets automatically? My
thought is that since I can't filter out the files, then at least I
should be able to use the information from the Project Symbols smart
group to detect where 'main' is defined, and generate a new target for
each 'main' that it finds, and have a target it depends on that contains
all non-main() containing files (In case you haven't figured it out yet,
this is all C code. Specifically C-89 & C-99). By looking at the
main() in each target, I can delete all of the targets that correspond
to stuff I don't need.
And finally
3) This is probably the easiest. I've noticed that when I set up
targets, the files are listed in pretty much any order. I've tried to
use the Group->sort menu, but it doesn't work on targets. Is there a
way of forcing the files to be sorted alphabetically so I can find and
remove files that don't belong in a particular target?
Thanks,
Cem Karan
_______________________________________________
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