[vtkusers] Interacting with VTK under Mac OS X
Sean McBride
sean at rogue-research.com
Fri Mar 16 10:50:48 EDT 2007
On 3/16/07 10:44 AM, Mike Jackson said:
>With a library, you can do the same thing with the install_name. I
>know frameworks are advocated by Apple, and I like them, but I
>_think_ getting the install_name thing fixed may be easier. With the
>framework approach you have to build the directory structure and all
>that. Don't get me wrong, I would love to see this support in CMake,
>but I'll take anything I can get.
Agreed.
> The sad part is the hack that I did to set the install_name isn't
>that difficult:
>I introduce a new variable for OS X: OSX_EMBEDDED_LIBRARY
>If this is set, then another option is presented to set the
>install_name prefix (OSX_EMBEDDED_LIBRARY_FOLDER). The default is
>"PlugIns" but the user can change this if they want to anything else.
>
>Here is the relevant part of the Darwin.cmake file that is in the
>following location:
Well, that looks great. Have you filed this in a bug? It would be nice
if the choice between @executable_path and @loader_path was settable too.
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list