Re: Two LIBRARY_SEARCH_PATHS
Re: Two LIBRARY_SEARCH_PATHS
- Subject: Re: Two LIBRARY_SEARCH_PATHS
- From: Christiaan Hofman <email@hidden>
- Date: Thu, 07 Apr 2011 14:13:37 +0200
On Apr 7, 2011, at 13:58, Gabriel Zachmann wrote:
>>>
>>> Apparently, Xcode concatenates both values from the first and the second section.
>>
>> Why would you think that? Below you seem to contradict this.
>
> Because, looking at the build results, I see this link step:
>
> /Developer/usr/bin/g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/zach/Code/Selection/Selection/build/Debug -L../OSG/OpenSG.install/lib64/debug -L/opt/local/lib -L/sw/lib -L/Users/zach/Code/Selection/Selection/../OSG/OpenSG.install/lib64/debug -L/opt/local/lib -F/Users/zach/Code/Selection/Selection/build/Debug -filelist /private/tmp/Selection.build/Debug/Selection.build/Objects-normal/x86_64/Selection.LinkFileList -mmacosx-version-min=10.6 -framework OpenGL -framework GLUT -lOSGFileIO -lOSGImageFileIO -lOSGWindowGLUT -lOSGBase -lOSGSystem -lOSGUtil -lOSGDrawable -lOSGGroup -lOSGWindow -lpng14 -ljpeg -o /Users/zach/Code/Selection/Selection/build/Debug/Selection
>
> So there are these library paths:
> /Users/zach/Code/Selection/Selection/build/Debug
> ../OSG/OpenSG.install/lib64/debug # -+ from second Debug config section
> /opt/local/lib # -+
> /sw/lib # -+
> /Users/zach/Code/Selection/Selection/../OSG/OpenSG.install/lib64/debug # | from first Debug config section
> /opt/local/lib # -+
>
That's not saying that it concatenates these build settings. The reason you see items from both build settings is that your target build setting contains "$(inherited)", which expands to the value inherited (!) from the higher level (i.e. the project level).
Christiaan
>
>>
>> My guess is that one (the first) is for a target, and the second for the project level.
>
> Oh, right! I keep forgetting the target level settings! ....
>
> Thanks a million!
>
> Best regards,
> Gabriel.
>
> _______________________________________________
> 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
_______________________________________________
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