Re: Xcode and creating a library project
Re: Xcode and creating a library project
- Subject: Re: Xcode and creating a library project
- From: Chris Espinosa <email@hidden>
- Date: Mon, 1 Dec 2008 21:47:45 -0800
On Dec 1, 2008, at 10:02 AM, Mike Shields wrote:
On Dec 1, 2008, at 12:50 PM, Philip Aker wrote:
On 2008-12-01, at 09:45:31, Mike Shields wrote:
I'm attempting to create a dynamic library project to share code
between several projects. When using Xcode 3.1.2, I selected the
Dynamic Library -> Cocoa Dynamic Library project template and
created the new project. When I went to configure my target all of
the GCC options that you would typically find under GCC 4.0 - Code
Generation (and others) were missing. Several of these build
settings showed up under User Defined Settings in their raw build
variable form.
Have you added any files to the project?
No, there were not. And as soon as I added a single compilable file,
the appropriate compiler sections are shown. Alright, not what I
would have stumbled across, except by accident and then wondered
what changed.
For historical reasons, project templates include source files, but
target templates don't. So when you add a new target, it has no
source files, and therefore no gcc settings, unless a) the project has
them set up already (some do, some don't) or b) you add a source file
before you inspect the target.
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