• 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
how do I create new targets and groups?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how do I create new targets and groups?


  • Subject: how do I create new targets and groups?
  • From: Markian Hlynka <email@hidden>
  • Date: Wed, 29 Sep 2004 16:01:53 -0600

So, I have a project with several targets. It goes something like this

Main stuff
	.h and .cpp files that are shared by all targest

game 1
	specific .h and .c files for target

game 2
	you get the idea

etc.

So, I haven't added at target for a couple months and I seem to have forgotten how. That is, I went to my "Source" group and used "Add->New Group". then I right-clicked on the new group and used "Add->New File", and created a new file in a new directory, games/newGame/newfile.h. Because I was having trouble with sources located above my project directory, I added my main project to the "source trees" in the preferences (See Chris Espinoza's post), and set this group to be "Relative to GameProject".

But, I realized that I didn't have a target yet. I don't remember if I did this before, but under the Targets group, I chose "new Target".

Now, here's what confuses me. In my other groups, eg Main stuff, when I highlight the group, I get checkboxes to add the files to the new target... but only on the .cc files, not the .h files! All the other targets include checkboxes for _both .h and .cc files.

Second, I can't add the new .h file I created to the target I created. At least, there's no checkbox with which to do so.

So.. can someone point me at what I'm doing wrong, please?

I just want to add a new target with new source files to my project....

Thanks,

Markian

_______________________________________________
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


  • Prev by Date: Re: Files still dirty after build
  • Next by Date: Re: Files still dirty after build
  • Previous by thread: Re: makeFirstResponder NOT working
  • Next by thread: Install Permissions and building/copy files phases?
  • Index(es):
    • Date
    • Thread