[CMake] CPack Mac OSX bundle uninstall

David Ojeda david.ojeda at gmail.com
Wed May 5 10:00:56 EDT 2010


Hello cmakers!

I am developing a C++ library and I am testing CMake with Cpack with the
bundle generator for mac osx (BTW, great work! Very easy to use!). I have
successfully generated a .dmg that has a .pkg. I managed to install the
libraries and headers that are included with my library. However, I wanted
to uninstall it and I can't find a suitable way to do this.

Normally, I will distribute this (compiled) library and headers as a .dmg or
.deb (for debian). The onyl way I found to uninstall under Mac, was adding
an uninstall target to the CMakeLists.txt. Unfortunately, not all developers
will have cmake so this option is not very attractive.

How do you uninstall your files installed with the .dmg/.pkg generated by
the mac osx bundle generator of CPack?

Thank you for your help,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100505/66cf3d4f/attachment-0001.htm>


More information about the CMake mailing list