[CMake] using install() with EXCLUDE_FROM_ALL

Ryan Pavlik rpavlik at iastate.edu
Wed Apr 7 21:39:51 EDT 2010


You might consider just setting the EXCLUDE_FROM_ALL property on specific
targets, instead of an entire subdirectory.

Ryan

On Wed, Apr 7, 2010 at 8:33 PM, Daniel Nelson <torham at connect2.com> wrote:

> If I use add_subdirectory with the EXCLUDE_FROM_ALL option, then any files
> whose install commands are in that directory are not installed as part of
> 'make install'.  Is this on purpose, and if so is there a way I can install
> these files?
> --
> Daniel
> _______________________________________________
> 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
>



-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik at iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100407/27969c90/attachment.htm>


More information about the CMake mailing list