[CMake] CPack question.

Akshay akshay.ranjan at gmail.com
Mon Sep 12 03:06:51 EDT 2011


I'll try and get back. Thanks very much for the help.

Akshay


On Mon, Sep 12, 2011 at 12:34 PM, Eric Noulard <eric.noulard at gmail.com>wrote:

> 2011/9/12 Akshay <akshay.ranjan at gmail.com>:
> > Hi Eric,
> >
> > Just to clarify, INSTALL command are present in the sibling source
> > directories' CMakeLists.txt and not in the main CMakeLists.txt. Would
> this
> > change the behavior of CPack (which is present only in the main
> > CMakeLists.txt) ?
>
> No it shouldn't.
> Provided that:
>
> add_subdirectory comes before include(CPack) in the main CMakeLists.txt
> and
> install command do not use absolute install path.
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110912/47b7ef03/attachment.htm>


More information about the CMake mailing list