2012/10/23 Romain LEGUAY <[email protected]>:
> Thank you Eric,
>
> I succeed to create the package by using CPACK_INSTALL_CMAKE_PROJECTS
> variable.
>
> I have some problem now to put my package in a specific folder. I try to set
> CPACK_TOPLEVEL_TAG variable but there is no change...

Toplevel won't be included unless you set
CPACK_INCLUDE_TOPLEVEL_DIRECTORY

however..

The variables you may be looking for are either
CPACK_PACKAGE_INSTALL_DIRECTORY
or
CPACK_PACKAGING_INSTALL_PREFIX

depending on the generator used. As usual:

cpack --help-variable CPACK_INCLUDE_TOPLEVEL_DIRECTORY
cpack --help-variable CPACK_PACKAGE_INSTALL_DIRECTORY
cpack --help-variable CPACK_PACKAGING_INSTALL_PREFIX


>> By the does your Demo/ directory have a "project(...)" command in its
>> CMakeLists.txt?
>>
> No I didn't put any project(...) in Demo/ or Application/ directories.
>
> Thanks again for your help,

You are welcome.


-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

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

Reply via email to