MantisBT - CMake
View Issue Details
0013157CMakeCPackpublic2012-04-20 14:082016-06-10 14:31
Matt Darland 
Eric NOULARD 
normalminoralways
closedmoved 
Linux x86_64LinuxUbuntu 11.10
CMake 2.8.7 
 
0013157: Tarball generator should obey CPACK_PACKAGE_INSTALL_DIRECTORY as the root directory in the tarball
Right now the tarball generator creates a tarball with its root as CPACK_PACKAGE_FILENAME (cmPackArchiveGenerator.cxx:215). Creating a directory structure that looks like :

CPACK_PACKAGE_FILENAME/
  bin/
  etc...

This prevents me from creating a tarball with a different name from the internal directory structure of the tarball. For example: I may want to create a tarball with the name "MyProduct-1.0" with an internal structure of:

MyProduct/
  bin/
  etc...

I believe the correct functionality should be to pay attention to the CPACK_PACKAGE_INSTALL_DIRECTORY var instead.
No tags attached.
duplicate of 0012606closed Eric NOULARD Archive and STGZ packages don't respect CPACK_PACKAGE_INSTALL_DIRECTORY (patch included) 
related to 0013019closed Kitware Robot The ZIP package generator does not find the files when CPACK_PACKAGING_INSTALL_PREFIX is set 
Issue History
2012-04-20 14:08Matt DarlandNew Issue
2012-04-20 14:18Brad KingAssigned To => Eric NOULARD
2012-04-20 14:18Brad KingStatusnew => assigned
2012-04-20 14:46Eric NOULARDRelationship addedduplicate of 0012606
2012-04-20 14:46Eric NOULARDRelationship addedrelated to 0013019
2012-04-20 14:47Eric NOULARDNote Added: 0029276
2016-06-10 14:28Kitware RobotNote Added: 0042030
2016-06-10 14:28Kitware RobotStatusassigned => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0029276)
Eric NOULARD   
2012-04-20 14:47   
This is true but this bug is a duplicate of 0012606 please read the comment
in that one.
(0042030)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.