[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.3 1.4 Issue 7470.html NONE 1.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jan 20 14:29:43 EST 2009
Update of /cvsroot/CMake/CMake/Tests/CPackComponents
In directory public:/mounts/ram/cvs-serv4089/Tests/CPackComponents
Modified Files:
CMakeLists.txt
Added Files:
Issue 7470.html
Log Message:
BUG: Fix for issue #7470. Allow spaces in the path names of installed files with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
--- NEW FILE: Issue 7470.html ---
<html>
<body>
The install rule for this file demonstrates the problem described in<br/>
CMake issue #7470:<br/>
<br/>
<a href="http://public.kitware.com/Bug/view.php?id=7470">
http://public.kitware.com/Bug/view.php?id=7470</a><br/>
</body>
</html>
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CPackComponents/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** CMakeLists.txt 29 Oct 2008 16:27:19 -0000 1.3
--- CMakeLists.txt 20 Jan 2009 19:29:41 -0000 1.4
***************
*** 40,43 ****
--- 40,46 ----
DESTINATION include
COMPONENT headers)
+ install(FILES "Issue 7470.html"
+ DESTINATION docs
+ COMPONENT documentation)
if(mylib_install_to_absolute_path)
***************
*** 78,81 ****
--- 81,89 ----
GROUP Runtime
INSTALL_TYPES Full)
+ cpack_add_component(documentation
+ DISPLAY_NAME "MyLib Documentation"
+ DESCRIPTION "The extensive suite of MyLib Application documentation files"
+ GROUP Runtime
+ INSTALL_TYPES Full)
cpack_add_component(libraries
DISPLAY_NAME "Libraries"
More information about the Cmake-commits
mailing list