4 231
modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
[[category:desktop]][[category:debian]] | |||
A la source du projet en question, ouvrez le fichier <code>CMakeLists.txt</code> et ajoutez y à la fin : | A la source du projet en question, ouvrez le fichier <code>CMakeLists.txt</code> et ajoutez y à la fin : | ||
<pre> | <pre> | ||
Ligne 11 : | Ligne 13 : | ||
SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp") | SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp") | ||
SET(CPACK_GENERATOR "DEB") | SET(CPACK_GENERATOR "DEB") | ||
find_program(DPKG_CMD dpkg) | |||
execute_process(COMMAND "${DPKG_CMD}" --print-architecture | |||
OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE | |||
OUTPUT_STRIP_TRAILING_WHITESPACE | |||
) | |||
SET(CPACK_PACKAGE_DESCRIPTION "short description") | SET(CPACK_PACKAGE_DESCRIPTION "short description") |