[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    on finding KDE4
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2009-06-27 22:47:39
Message-ID: 757d9a550906271547t530a961bpc1a11bd7a248eb85 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


hi,
while looking through the code looking for a bug i ran into this code:

get_target_property(_importedConfigurations
${KDE4_TARGET_PREFIX}kconfig_compiler IMPORTED_CONFIGURATIONS )
list(GET _importedConfigurations 0 _firstConfig)

get_target_property(KDE4_KCFGC_EXECUTABLE
${KDE4_TARGET_PREFIX}kconfig_compiler LOCATION_${firstConfig})
get_target_property(KDE4_MEINPROC_EXECUTABLE
${KDE4_TARGET_PREFIX}meinproc4        LOCATION_${firstConfig})
get_target_property(KDE4_MAKEKDEWIDGETS_EXECUTABLE
${KDE4_TARGET_PREFIX}makekdewidgets   LOCATION_${firstConfig})

Why isn't the property name like that (note the underscore)?
LOCATION_${_firstConfig}

Thanks,
Aleix

[Attachment #5 (text/html)]

hi,<br>while looking through the code looking for a bug i ran into this cod=
e:<br><br>get_target_property(_importedConfigurations=C2=A0 ${KDE4_TARGET_P=
REFIX}kconfig_compiler IMPORTED_CONFIGURATIONS )<br>list(GET _importedConfi=
gurations 0 _firstConfig)<br>
<br>get_target_property(KDE4_KCFGC_EXECUTABLE=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 ${KDE4_TARGET_PREFIX}kconfig_compiler LOCATION_${f=
irstConfig})<br>get_target_property(KDE4_MEINPROC_EXECUTABLE=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 ${KDE4_TARGET_PREFIX}meinproc4=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 LOCATION_${firstConfig})<br>
get_target_property(KDE4_MAKEKDEWIDGETS_EXECUTABLE ${KDE4_TARGET_PREFIX}mak=
ekdewidgets=C2=A0=C2=A0 LOCATION_${firstConfig})<br><br>Why isn&#39;t the p=
roperty name like that (note the underscore)?<br>LOCATION_${_firstConfig}<b=
r><br>
Thanks,<br>Aleix<br>


_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic