MantisBT - CMake
View Issue Details
0008394CMakeCMakepublic2009-01-18 16:172009-02-24 11:42
Matt Williams 
Brad King 
normalfeatureN/A
closedfixed 
CMake-2-6 
 
0008394: Add OPTIONAL to install(DIRECTORY ...)
Currently, most install() commands have an OPTIONAL argument which tells CMake not to error if it can't find the file/target/etc at install time. This is missing for the install(DIRECTORY ...) command.

Would it be possible to add this?
No tags attached.
has duplicate 0008743closed Brad King Add OPTIONAL to install(DIRECTORY ...) 
Issue History
2009-01-18 16:17Matt WilliamsNew Issue
2009-02-24 10:14Bill HoffmanStatusnew => assigned
2009-02-24 10:14Bill HoffmanAssigned To => Brad King
2009-02-24 11:41Brad KingNote Added: 0015333
2009-02-24 11:42Brad KingStatusassigned => closed
2009-02-24 11:42Brad KingResolutionopen => fixed
2009-09-19 10:47Brad KingRelationship addedhas duplicate 0008743

Notes
(0015333)
Brad King   
2009-02-24 11:41   
ENH: Refactor install(DIRECTORY) argument parsing
/cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v <-- Source/cmInstallCommand.cxx
new revision: 1.50; previous revision: 1.49

ENH: Add install(DIRECTORY) option 'OPTIONAL'
/cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v <-- Source/cmInstallCommand.cxx
new revision: 1.51; previous revision: 1.50
/cvsroot/CMake/CMake/Source/cmInstallCommand.h,v <-- Source/cmInstallCommand.h
new revision: 1.32; previous revision: 1.31
/cvsroot/CMake/CMake/Source/cmInstallDirectoryGenerator.cxx,v <-- Source/cmInstallDirectoryGenerator.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/CMake/CMake/Source/cmInstallDirectoryGenerator.h,v <-- Source/cmInstallDirectoryGenerator.h
new revision: 1.6; previous revision: 1.5
/cvsroot/CMake/CMake/Tests/SimpleInstall/CMakeLists.txt,v <-- Tests/SimpleInstall/CMakeLists.txt
new revision: 1.102; previous revision: 1.101