[CMake] Configuring CPack to Build Packages My Way
Bill Hoffman
bill.hoffman at kitware.com
Tue Sep 10 14:23:34 EDT 2013
On 9/10/2013 1:42 PM, Stewart, Robert wrote:
>>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?
>>
The basic idea of CPack is that it uses the install tree and packages
it. I am not sure I understand exactly what you are asking. The make
install step should create your directory structure. This might be a
variable you want to look at CPACK_SET_DESTDIR .
-Bill
More information about the CMake
mailing list