dealii/dealii — pull request #291 by luca-heltai (2014-12-09 13:44:45+00:00)
Title: Added cpack configuration, and Mac Bundle package.

This PR enables CPack support in our CMake file. For the moment, I could only test Mac support and I enabled it in its "Mac Bundle" version, but following very simple instructions it is possible to generate debian packages, rpm packages, and so on. This can be changed with the CMake variable `CPACK_GENERATOR`. I have added all configurations for mac bundle package, and for now that is the default.

This PR adds a "package" target. On a Mac, this target generates a disk image file containing a deal.II.app bundle (a directory with special structure, that Mac OS X recognizes as an application) which can be distributed without requiring the user to install anything. Just drag the "deal.II.app" in the /Applications folder, and the user will have a "deal.II" application (with our cool icon) which fires up a terminal where all environment variables are correctly set for deal.II to function "out of the box".