Re: Xcode and creating a library project
Re: Xcode and creating a library project
- Subject: Re: Xcode and creating a library project
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 1 Dec 2008 18:52:30 +0100
Le 1 déc. 08 à 18:45, Mike Shields a écrit :
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.
Poking around some more it seems as if some of the project templates
generate proper GCC-specific build setting sections (Cocoa App, AB
plugin, maybe others) but most don't seem to (static lib, dynamic
lib, framework). Am I running into a bug, do I have a bad install,
am I just missing something? I can work around this by setting these
up myself by hand, but it's damn inconvenient to do so.
These build settings are compiler dependent, and so, I guess until you
tell Xcode you want to build C and so use GCC 4.0 (or 4.2) it don't
know where to find a definition for them.
So just add a source file in your target compilation build phase and
Xcode will display them correctly.
_______________________________________________
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