There is some new functionality in the latest CVS that is supposed to
take care of all this on OS X. I have not had a chance to try it out
or work with it yet.
If you update to CVS CMake, take a look at the BundleUtilities.cmake
file. Supposedly in your CMakeLists.txt code you should just have a
two liner:
include(BundleUtilities)
copy_and_fixup_bundle(....)
Again, if I get some time I will see what I can figure out and try and
put something in the Wiki as I am also interested in all this.
Tim. I absolutely applaud your efforts to get something working on OS
X. With the lack of anything else your solution was the only thing
available and did work. Philosophically I don't like the idea of
setting the DYLD_LIBRARY_PATH as that has some unknown implications
and would rather see a solution that runs install_name_tool over the
needed libraries to fix them up. Again, due to the lack of anything
else, your solution does work.
_________________________________________________
| Mike Jackson - Principal Software Engineer |
| BlueQuartz Software |
| [EMAIL PROTECTED] |
| www.bluequartz.net |
---------------------------------------------------
On Sep 16, 2008, at 11:11 AM, Shead, Timothy wrote:
On 9/16/08 8:26 AM, "Boudewijn Rempt" <[EMAIL PROTECTED]> wrote:
\
Ah... Well, we're struggling with that ourselves at the moment, and
looking
in vain some good examples. Right now, we're using CPack for Linux
and
Windows,
and have stopped using CPack for OS X -- where I am right now
writing a shell
script to fill out the .app bundle and create a dmg out of it,
following E.
Wing's
advice last weekend.
Use the OSX bundle generator, which was introduced in Cmake 2.6:
http://www.cmake.org/Wiki/User:Tshead/OSX_CPack_Bundle_Generator
Cheers,
Tim
--
Timothy M. Shead
Scalable Analytics & Visualization (1424)
Sandia National Laboratories
505-284-0139
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake