MantisBT - CMake
View Issue Details
0007880CMakeCPackpublic2008-10-29 06:202016-06-10 14:30
Nicolas Despres 
Bill Hoffman 
normaltweakN/A
closedmoved 
CMake-2-6 
 
0007880: [NSIS] Does not take into account README and WELCOME file.
The file specified by CPACK_RESOURCE_FILE_README and CPACK_RESOURCE_FILE_WELCOME are not used by the NSIS generator.
No tags attached.
Issue History
2008-10-29 06:20Nicolas DespresNew Issue
2008-11-05 17:40Bill HoffmanNote Added: 0014038
2008-11-05 17:40Bill HoffmanStatusnew => assigned
2008-11-05 17:40Bill HoffmanAssigned To => Bill Hoffman
2008-11-06 07:22Nicolas DespresNote Added: 0014047
2009-02-04 07:00Nicolas DespresNote Added: 0014776
2010-08-18 07:10Mike McQuaidNote Added: 0021801
2016-06-10 14:27Kitware RobotNote Added: 0041462
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0014038)
Bill Hoffman   
2008-11-05 17:40   
Can you give an example of this? We use this for CMake itself and seems to work fine.
(0014047)
Nicolas Despres   
2008-11-06 07:22   
I cannot find any reference to them in NSIS.template.in:

grep -e CPACK_RESOURCE_FILE_README -e CPACK_RESOURCE_FILE_WELCOME ./Modules/NSIS.template.in

return 1

The NSIS generated installer of CMake-2.6.2 display only the license file.
(0014776)
Nicolas Despres   
2009-02-04 07:00   
I've just reinstall cmake on my win32 box using http://www.cmake.org/files/v2.6/cmake-2.6.3-RC-8-win32-x86.exe [^] and only the copyright notice appears in the NSIS wizard.

Against the CVS source tree (fresh update today), running:

grep -r -e CPACK_RESOURCE_FILE_README -e CPACK_RESOURCE_FILE_WELCOME .

give me:

./Modules/CPack.cmake:# CPACK_RESOURCE_FILE_README - ReadMe file for the project, which
./Modules/CPack.cmake:# CPACK_RESOURCE_FILE_WELCOME - Welcome file for the project, which
./Modules/CPack.cmake:cpack_set_if_not_set(CPACK_RESOURCE_FILE_README
./Modules/CPack.cmake:cpack_set_if_not_set(CPACK_RESOURCE_FILE_WELCOME
./Modules/CPack.cmake:cpack_check_file_exists("${CPACK_RESOURCE_FILE_README}" "readme resource")
./Modules/CPack.cmake:cpack_check_file_exists("${CPACK_RESOURCE_FILE_WELCOME}" "welcome resource")
./Modules/CPack.distribution.dist.in: <welcome file="@CPACK_RESOURCE_FILE_WELCOME_NOPATH@"/>
./Modules/CPack.distribution.dist.in: <readme file="@CPACK_RESOURCE_FILE_README_NOPATH@"/>

So it seems they are used only by package maker generator.
(0021801)
Mike McQuaid   
2010-08-18 07:10   
I guess the problem here, Bill, is one of documentation rather than on features. It's not clear from CPack's documentation which will be used.
(0041462)
Kitware Robot   
2016-06-10 14:27   
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.