Re: Help with project files please...
Re: Help with project files please...
- Subject: Re: Help with project files please...
- From: Fritz Anderson <email@hidden>
- Date: Sat, 10 Apr 2010 15:59:18 -0500
On 10 Apr 2010, at 11:53 AM, Brian OBrien wrote:
> I created a project from a Template.
> ie. File, New Project, C++ Tool.
>
> I developed my classes and main to test them.
>
> Now I want to add another command line utility to the project.
>
> The layout of the template chooser in 'target add' is not the same as the layout in 'new project', and I don't know if I need BSD, Carbon or a Cocoa Shell tool.
>
> This complicates matters for me as I have a custom template (for a REALbasic plugin) that I want to use but I can't because it doesn't appear in target add, it only appears in project new.
> It's like I have to create the project using the custom template first then add the C++ Tools next... but again... I don't know what Shell tool is the same as the C++ Tool from 'project new'
Xcode makes projects from one set of templates (which can contain files and can start with references to frameworks) for projects, and another set (which can't do those things, except for a very limited repertoire of cheats) for targets. They're two different things. File an enhancement request to bring them into parity.
Most makers of custom SDKs provide project templates, but not target templates.
You say you want a command-line utility, which suggests the BSD category; but then you say you want a REALbasic plugin. Which is it?
Or do you mean you want to start a _new_ project, and add a tool target? Look through the BSD targets. You may have to edit the target build settings (double-click the target icon) and add framework references, but these aren't magic. Look through your working project and match the settings in it. Look in the documentation for .xcconfig files — they'll let you export the working settings and use them in the new target.
— F
_______________________________________________
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