[CMake] Rename the output of cpack

James Bigler jamesbigler at gmail.com
Tue May 17 14:18:03 EDT 2011


CPack allows me to configure the basename of the package, but I would like
to be able to change the extension used.  I dug around the CPack sources and
it looks like the file extension is baked into the 'virtual const char*
GetOutputExtension() { return ".sh"; }' function.  It doesn't look like I
can configure it, so I'm trying to see if there is a way to rename the file
after it's been generated.  Kind of like a post-link command.  Does anyone
know how I could do this?

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110517/e3615582/attachment.htm>


More information about the CMake mailing list