Re: [CMake] Installing OSX Frameworks

2008-07-24 Thread Mike Arthur
On Wednesday 23 July 2008 21:45:34 Shead, Timothy wrote: > On 7/23/08 1:45 PM, "Bill Hoffman" <[EMAIL PROTECTED]> wrote: > While I'm at it, is there a good way to install an external shared library > that handles its' symlinks? I've been doing the following, which is > less-than-satisfying: I've g

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Shead, Timothy
On 7/23/08 1:45 PM, "Bill Hoffman" <[EMAIL PROTECTED]> wrote: > There is also a module in CMake that we have been using for this type of > thing. See Modules/GetPrerequisites.cmake. Man, those Kitware guys think of everything ;) While I'm at it, is there a good way to install an external shared

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Bill Hoffman
Bill Hoffman wrote: Which is then used during the install phase by calling it as a script something like this: install(CODE "set(input_file \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${APP_BUNDLE_LOCATION}/APP.app/Contents/MacOS/APP\")") install(CODE "set(lib_path \"${EXECUTABLE_OUTPUT_P

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Bill Hoffman
Shead, Timothy wrote: On 7/23/08 11:14 AM, "Mike Arthur" <[EMAIL PROTECTED]> wrote: On Wednesday 23 July 2008 16:06:21 Mike Jackson wrote: What would probably be nice at this point would be an example OS X centric project that uses all these ideas with code explanations for each step. I think

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Mike Jackson
On Jul 23, 2008, at 3:20 PM, Shead, Timothy wrote: On 7/23/08 11:14 AM, "Mike Arthur" <[EMAIL PROTECTED]> wrote: On Wednesday 23 July 2008 16:06:21 Mike Jackson wrote: What would probably be nice at this point would be an example OS X centric project that uses all these ideas with code expla

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Shead, Timothy
On 7/23/08 11:14 AM, "Mike Arthur" <[EMAIL PROTECTED]> wrote: > On Wednesday 23 July 2008 16:06:21 Mike Jackson wrote: >> What would probably be nice at this point would be an example OS X >> centric project that uses all these ideas with code explanations for >> each step. > I think what would be

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Mike Arthur
On Wednesday 23 July 2008 16:06:21 Mike Jackson wrote: > What would probably be nice at this point would be an example OS X > centric project that uses all these ideas with code explanations for > each step. I think what would be nice is if CMake did this for us! If this is fairly standard when pa

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Mike Jackson
On Jul 23, 2008, at 11:32 AM, Shead, Timothy wrote: On 7/23/08 9:06 AM, "Mike Jackson" <[EMAIL PROTECTED]> wrote: What should be happening is that your application should be linked with libraries that have an "install_name" set to @execuatble_path/../ Frameworks" or "@executable_path/

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Shead, Timothy
On 7/23/08 9:06 AM, "Mike Jackson" <[EMAIL PROTECTED]> wrote: > What should be happening is that your application should be linked > with libraries that have an "install_name" set to @execuatble_path/../ > Frameworks" or "@executable_path/../Dylibs/" or something > along those lines. If yo

Re: [CMake] Installing OSX Frameworks

2008-07-23 Thread Mike Jackson
On Jul 22, 2008, at 7:58 PM, Shead, Timothy wrote: On 7/22/08 10:56 AM, "Mike Arthur" <[EMAIL PROTECTED]> wrote: Has anyone worked out a nice way of installing the needed OSX frameworks into my application bundle? If you use the (bleeding-edge) CPack bundle generator, you can install fram

Re: [CMake] Installing OSX Frameworks

2008-07-22 Thread Shead, Timothy
On 7/22/08 10:56 AM, "Mike Arthur" <[EMAIL PROTECTED]> wrote: > Has anyone worked out a nice way of installing the needed OSX frameworks into > my application bundle? If you use the (bleeding-edge) CPack bundle generator, you can install frameworks (or any other dependency) using normal CMake ins

Re: [CMake] Installing OSX Frameworks

2008-07-22 Thread Mike Jackson
There are lots of "home grown" solutions. I have one the copies Qt Frameworks/Dylibs into the App bundle if you are interested. Take a look at http://titanium.imts.us/viewvc/Task_7/MXATools/ Resources/OSX_Tools/ Probably not as "slick" as it should be but should be easy/straight forward to

[CMake] Installing OSX Frameworks

2008-07-22 Thread Mike Arthur
Has anyone worked out a nice way of installing the needed OSX frameworks into my application bundle? -- Cheers, Mike Arthur ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake