[CMake] CPack question.
Eric Noulard
eric.noulard at gmail.com
Mon Sep 12 03:04:04 EDT 2011
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
More information about the CMake
mailing list