[CMake] InstallRequiredSystemLibraries.cmake and cpack -G NSIS

Clinton Stimpson clinton at elemtech.com
Tue Dec 8 09:59:16 EST 2009


On 12/08/2009 07:07 AM, Mathieu Malaterre wrote:
> On Tue, Dec 8, 2009 at 3:03 PM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com>  wrote:
>    
>> Hi there,
>>
>>   I am currently experiencing a weird issue. The NSIS installer does
>> not install the M$ redist dll as I would expect
>> InstallRequiredSystemLibraries.cmake should be doing. The cpack -G ZIP
>> is ok, I can see the M$ dll in the /bin directory. But for some reason
>> the NSIS does not seems to install them.
>>
>>   Is there a way to list the file being shipped inside the NSIS installer ?
>>
>> System:
>> - WinXP 32bits
>> - CMake 2.8
>> - GDCM trunk
>> - VS 2008 Express
>>      
> Quick question, what does the following do:
>
>        INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
>
> When CPack component are being used ? It is attached to an empty cpack
> component ?
>    

A hidden cpack component, yes.  And it always gets installed.

Clint



More information about the CMake mailing list