[CMake] Configuring CPack to Build Packages My Way
Stewart, Robert
Robert.Stewart at sig.com
Tue Sep 10 13:42:28 EDT 2013
Anyone?
Stewart, Robert wrote, on Thursday, September 05, 2013 12:55 PM:
>
> I want CPack to build packages that result in installing
> files in a particular structure, regardless of whether I'm
> using TGZ, ZIP, NSIS, RPM, etc. I'm having trouble making
> this work and need help.
>
> Let me make things concrete. I have successfully configured
> CMake to install platform-specific files as follows:
>
> directories/leading/to/my/installation/files/
> platform1/
> product/
> version/
> files (more subdirectories, but irrelevant)
> platform2/
> product/
> version/
> files (more subdirectories, but irrelevant)
> etc.
>
> I want to build a ZIP or TGZ package of the platform
> directories above, change to some desired directory,
> decompress the .tgz or .zip file, and wind up with the above
> structure in the current directory. That is, nothing from
> "directories/leading/to/my/installation/files" should appear
> in the current directory.
>
> Likewise, I want an NSIS installer or RPM that will create
> that directory structure in either a default location from my
> CMakeLists.txt or in a directory selected by the user during
> installation (via the GUI for NSIS or --prefix for rpm).
>
> What must I do to effect this?
>
> _____
> Rob Stewart
> Software Engineer
> Dev Tools & Components
> Susquehanna International Group, LLP
________________________________
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
More information about the CMake
mailing list