[cmake-developers] [CMake 0012935]: When CPACK_INCLUDE_TOPLEVEL_DIRECTORY is set to 1, the NSIS generator is always failed to be initialized
Mantis Bug Tracker
mantis at public.kitware.com
Sun Feb 5 06:38:37 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12935
======================================================================
Reported By: Hong Xu
Assigned To:
======================================================================
Project: CMake
Issue ID: 12935
Category: CPack
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-02-05 06:38 EST
Last Modified: 2012-02-05 06:38 EST
======================================================================
Summary: When CPACK_INCLUDE_TOPLEVEL_DIRECTORY is set to 1,
the NSIS generator is always failed to be initialized
Description:
When set CPACK_INCLUDE_TOPLEVEL_DIRECTORY to 1 in the CMakeLists.txt, "nmake
package" or "wmake package" (not tried other compilers) will lead to the
following output:
CPack Error: NSIS Generator cannot work with CPACK_INCLUDE_TOPLEVEL_DIRECTORY.
This option will be ignored.
CPack Error: Cannot initialize the generator NSIS
As long as it says this option will be ignored, the error should not be caused.
I have NSIS installed on my machine. The original source tree could be found
here:
https://github.com/editorconfig/editorconfig/zipball/90978de4e2bfcdf6577ceb54edba9a044f10c5ba
Steps to Reproduce:
Download the source tree:
https://github.com/editorconfig/editorconfig/zipball/90978de4e2bfcdf6577ceb54edba9a044f10c5ba
Note that in the root CMakeLists.txt, CPACK_INCLUDE_TOPLEVEL_DIRECTORY is set to
1.
Execute: cmake -G "NMake Makefiles" .
Execute: nmake
Execute: nmake package
Then the output is:
CPack Error: NSIS Generator cannot work with CPACK_INCLUDE_TOPLEVEL_DIRECTORY.
This option will be ignored.
CPack Error: Cannot initialize the generator NSIS
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-02-05 06:38 Hong Xu New Issue
======================================================================
More information about the cmake-developers
mailing list