Re: Derived sources from Flex and Bison
Re: Derived sources from Flex and Bison
- Subject: Re: Derived sources from Flex and Bison
- From: Chris Suter <email@hidden>
- Date: Thu, 8 Jul 2010 17:46:20 +1000
Hi Mike,
On Thu, Jul 8, 2010 at 6:29 AM, McLaughlin, Michael P. <email@hidden> wrote:
> The problem with any solution that specifies a path in a source file is that
> there are two DerivedSources folders, depending on whether you are in the
> Debug or Release configurations.
This might have been fixed in a later version of Xcode. In the version
I'm running, the DerviedSources folder is automatically added to the
search list. I realise you're on Leopard so updating isn't an option.
To fix it in your version, you should be able to manually add the
location to your search path; add "$DERIVED_FILES_DIR" to the search
path. However, you'll probably find that dependencies won't work
correctly: i.e. files dependent on that header file might not get
rebuilt when the header file is regenerated. To fix that (if it
happens to be a problem), I think you'd have to move the generation of
the header file into a separate target and then use target
dependencies.
Kind regards,
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