Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review/mp/tp/cpack support #42

Merged
merged 5 commits into from Jun 18, 2011
Merged

Review/mp/tp/cpack support #42

merged 5 commits into from Jun 18, 2011

Conversation

mpictor
Copy link
Collaborator

@mpictor mpictor commented Jun 16, 2011

Includes:

  • rebase of tp/cpack-support
  • automatically set cpack version variables
  • adds support for RPMs, but I don't have a fedora/redhat install to test the rpm on

mpictor and others added 5 commits June 15, 2011 18:09
Moved LICENSE and REAMDE to LICENSE.txt and README.txt since CPack
only supports html/txt/rtf files
The 'empty package' issue has been discussed here: http://www.cmake.org/pipermail/cmake/2010-February/035171.html:

"""
By default CPack does not use the DESTDIR option during the installation
phase.  Instead it sets the CMAKE_INSTALL_PREFIX to the full path of the
temporary directory being used by CPack to stage the install package. This
can be changed by setting CPACK_SET_DESTDIR to on. If the DESTDIR option is
on, CPack will use the projects cache value for CPACK_INSTALL_PREFIX, and
set DESTDIR to the temporary staging area. This allows absolute paths to be
installed under the temporary directory. Relative paths are installed into
DESTDIR/${project’s CMAKE_INSTALL_PREFIX} where DESTDIR is set to the
temporary staging area.

I think you want CPACK_SET_DESTDIR, then make sure CMAKE_INSTALL_PREFIX is
how you want it before you run cpack.
"""
This is intended for quick-n-dirty developer test packages, not to replace the official (and superior) Debian tools.
@dbarbier
Copy link
Collaborator

+1

2 similar comments
@QbProg
Copy link
Collaborator

QbProg commented Jun 16, 2011

+1

@tpaviot
Copy link
Owner

tpaviot commented Jun 17, 2011

+1

mpictor added a commit that referenced this pull request Jun 18, 2011
@mpictor mpictor merged commit 4942ac3 into master Jun 18, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants