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

List:       kde-buildsystem
Subject:    KDE/kdelibs/cmake/modules
From:       David Faure <faure () kde ! org>
Date:       2009-08-17 16:44:14
Message-ID: 1250527454.413758.13673.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1012421 by dfaure:

Use -o rather than > so that we don't get an empty file on error (e.g. "qdbuscpp2xml: \
could not execute moc")  (empty file which itself will lead to a different error \
message next time)

Can this be merged into cmake's FindQt4.cmake? Thanks.
CCMAIL: kde-buildsystem@kde.org


 M  +1 -1      FindQt4.cmake  


--- trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake #1012420:1012421
@@ -1335,7 +1335,7 @@
     ENDIF (_customName)
   
     ADD_CUSTOM_COMMAND(OUTPUT ${_target}
-        COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} > \
${_target} +        COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} \
${_in_file} -o ${_target}  DEPENDS ${_in_file}
     )
   ENDMACRO(QT4_GENERATE_DBUS_INTERFACE)
_______________________________________________
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