MantisBT - CMake
View Issue Details
0008743CMakeCMakepublic2009-03-16 14:192009-09-19 10:48
Steve Wilson 
Brad King 
normalfeatureN/A
closedfixed 
CMake-2-6 
 
0008743: Add OPTIONAL to install(DIRECTORY ...)
Currently install(FILES ...) and install(PROGRAMS ...) allow the OPTIONAL modifier. Directories can also be optional install items.

install(DIRECTORY dirs... DESTINATION <dir>
          [FILE_PERMISSIONS permissions...]
          [DIRECTORY_PERMISSIONS permissions...]
          [USE_SOURCE_PERMISSIONS]
          [CONFIGURATIONS [Debug|Release|...]]
          [COMPONENT <component>] [FILES_MATCHING]
          [[PATTERN <pattern> | REGEX <regex>]
           [EXCLUDE] [PERMISSIONS permissions...]]
          [OPTIONAL] [...])

I have uploaded patches in the tarball that add OPTIONAL for the install(DIRECTORY ...) command.
The patches were generated using the CMake 2.6.3 sources.

Feel free to contact me with comments/concerns/etc...

Steve
No tags attached.
duplicate of 0008394closed Brad King Add OPTIONAL to install(DIRECTORY ...) 
tgz patches.tgz (1,500) 2009-03-16 14:19
https://public.kitware.com/Bug/file/2125/patches.tgz
Issue History
2009-03-16 14:19Steve WilsonNew Issue
2009-03-16 14:19Steve WilsonFile Added: patches.tgz
2009-09-19 10:46Brad KingStatusnew => assigned
2009-09-19 10:46Brad KingAssigned To => Brad King
2009-09-19 10:47Brad KingRelationship addedduplicate of 0008394
2009-09-19 10:48Brad KingNote Added: 0017640
2009-09-19 10:48Brad KingStatusassigned => closed
2009-09-19 10:48Brad KingResolutionopen => fixed

Notes
(0017640)
Brad King   
2009-09-19 10:48   
This is a duplicate of issue 0008394 which was closed in February 2009. The feature will be in the upcoming 2.8.0 release.