[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: How to use cpack with KDE's variables
From: Stéphane_MANKOWSKI <stephane () mankowski ! fr>
Date: 2008-09-08 7:19:36
Message-ID: 48C4D208.1010302 () mankowski ! fr
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
Nobody knows ?
Please help me ! I am blocked !
Thank you.
Stéphane
-------- Message original --------
Sujet: How to use cpack with KDE's variables
Date: Fri, 05 Sep 2008 22:31:32 +0200
De: Stéphane MANKOWSKI <stephane@mankowski.fr>
Pour: kde-devel@kde.org
Hi,
I am trying to use cpack to build DEB and RPM packages.
if in the CMakeList.txt, installation is done like this, files are in
the resulting package as expected.
INSTALL(TARGETS skrooge DESTINATION *bin )*
INSTALL(TARGETS skgbasegui LIBRARY DESTINATION lib )
INSTALL(FILES SKGMainPanel.rc DESTINATION share/apps/skrooge )
INSTALL(FILES SKGMainPanel_pref.kcfg DESTINATION share/config.kcfg )
But, if I try to use KDE's variables, then _files are missing_ in the
resulting package.
Example:
INSTALL(TARGETS skrooge DESTINATION *${BIN_INSTALL_DIR}* )
INSTALL(FILES SKGMainPanel_pref.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
What is the solution ?
How to use CPack with KDE's variables ?
Thank you.
Stephane
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Nobody knows ?<br>
<br>
Please help me ! I am blocked !<br>
<br>
Thank you.<br>
Stéphane<br>
<br>
-------- Message original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Sujet: </th>
<td>How to use cpack with KDE's variables</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Fri, 05 Sep 2008 22:31:32 +0200</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">De: </th>
<td>Stéphane MANKOWSKI <a class="moz-txt-link-rfc2396E" \
href="mailto:stephane@mankowski.fr"><stephane@mankowski.fr></a></td> </tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Pour: </th>
<td><a class="moz-txt-link-abbreviated" \
href="mailto:kde-devel@kde.org">kde-devel@kde.org</a></td> </tr>
</tbody>
</table>
<br>
<br>
Hi,<br>
<br>
I am trying to use cpack to build DEB and RPM packages.<br>
<br>
if in the CMakeList.txt, installation is done like this, files are in
the resulting package as expected.<br>
INSTALL(TARGETS skrooge DESTINATION <b><font color="#006600">bin \
)</font></b><br> INSTALL(TARGETS skgbasegui LIBRARY DESTINATION \
lib )<br> INSTALL(FILES SKGMainPanel.rc \
DESTINATION share/apps/skrooge )<br> INSTALL(FILES \
SKGMainPanel_pref.kcfg DESTINATION share/config.kcfg )<br>
<br>
But, if I try to use KDE's variables, then <u>files are missing</u> in
the resulting package.<br>
Example:<br>
INSTALL(TARGETS skrooge DESTINATION <font \
color="#ff0000"><b>${<span style="white-space: \
pre;">BIN_INSTALL_DIR}</span></b></font> ) <br> \
INSTALL(FILES SKGMainPanel_pref.kcfg DESTINATION ${<span \
style="white-space: pre;">KCFG_INSTALL_DIR}</span> )<br> <br>
What is the solution ?<br>
How to use CPack with KDE's variables ?<br>
<br>
Thank you.<br>
Stephane<br>
<br>
</body>
</html>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic