[CMake] make install builds more than it needs to

David Cole david.cole at kitware.com
Tue Jun 19 15:39:27 EDT 2012


'make install' for a CMake-generated makefile is typically equivalent to
'make all && make install'

'install' depends on 'all' and all typically includes things that are
installed and not installed.


On Tue, Jun 19, 2012 at 3:11 PM, Leif Walsh <leif.walsh at gmail.com> wrote:

> Why does `make install` build things that aren't installed?  I would
> imagine it would only build targets that are mentioned in INSTALL().
>
> --
> Cheers,
> Leif
> --
>
> 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/20120619/fe8effd6/attachment.htm>


More information about the CMake mailing list