[CMake] Add OPTIONAL to install(DIRECTORY ...)

Steven Wilson steven.wesley.wilson at gmail.com
Fri Sep 18 16:52:20 EDT 2009


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 submitted this request as bug # 8743 to the bug tracker and would
like to see this issue integrated into the next release of CMake.

Thanks,

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090918/202db17c/attachment.htm>


More information about the CMake mailing list