[CMake] Custom install target to install only files

David Cole david.cole at kitware.com
Thu May 24 11:59:21 EDT 2012


Perhaps consider using the COMPONENTS feature of the install rules.


On Thu, May 24, 2012 at 9:43 AM, vivek goel <goelvivek2011 at gmail.com> wrote:

> I have a project with 10 binary files.
> and I am installing custom 15 bash files using
>
> install(PROGRAMS
>           <file-list>
>          DESTINATION /bin
>           )
>
> Is there a way to have custom install target like
> make install script which will install only required script files with
> building source code for binary files?
>
> regards
> Vivek Goel
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120524/b5665340/attachment.htm>


More information about the CMake mailing list