Thanks Eric, that helps.

Kind regards.

hce

On 2012-05-31 09:20+0200, Eric Noulard wrote:
2012/5/31 jupiter <jupiter....@gmail.com>:
Hi,

Sorry for an FAQ, I am new to cpack. I am going to use cpack to generate an
rpm package to contain all binary files, bin, lib etc under
CMAKE_BINARY_DIR/myApplicationBinaryDir. Which cpack variable I can use to
define the package content to include the binary directory?

With you don't "include" a binary directory.

CPack is using the "INSTALL(... DESTINATION)" to build the package,
basically each targets, file etc... which appear in INSTALL(...) rules in your
CMakeLists.txt files.

You can find more informations on CPack there:
http://www.cmake.org/Wiki/CMake#CPack
or there:
https://github.com/TheErk/CMake-tutorial/blob/master/CMake-tutorial-8feb2012.pdf?raw=true


--
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