View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007880CMakeCPackpublic2008-10-29 06:202016-06-10 14:30
ReporterNicolas Despres 
Assigned ToBill Hoffman 
PrioritynormalSeveritytweakReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007880: [NSIS] Does not take into account README and WELCOME file.
DescriptionThe file specified by CPACK_RESOURCE_FILE_README and CPACK_RESOURCE_FILE_WELCOME are not used by the NSIS generator.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0014038)
Bill Hoffman (manager)
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 (reporter)
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 (reporter)
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 (reporter)
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 (administrator)
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.

- Issue History
Date Modified Username Field Change
2008-10-29 06:20 Nicolas Despres New Issue
2008-11-05 17:40 Bill Hoffman Note Added: 0014038
2008-11-05 17:40 Bill Hoffman Status new => assigned
2008-11-05 17:40 Bill Hoffman Assigned To => Bill Hoffman
2008-11-06 07:22 Nicolas Despres Note Added: 0014047
2009-02-04 07:00 Nicolas Despres Note Added: 0014776
2010-08-18 07:10 Mike McQuaid Note Added: 0021801
2016-06-10 14:27 Kitware Robot Note Added: 0041462
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker