[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdesupport/qt-dbus
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-06-05 15:28:40
Message-ID: 200606051728.40659.thiago () kde ! org
[Download RAW message or body]
Obviously, the new option has no effect.
If someone with better knowledge of the buildsystem could take a look...
Thiago Macieira wrote:
>SVN commit 548430 by thiago:
>
>Create a new option to suppress debugging messages, and make the code
> compile with it
>
> M +5 -1 CMakeLists.txt
> M +1 -1 src/qdbuserror.cpp
> M +1 -1 src/qdbuserror.h
> M +1 -1 src/qdbusmessage.cpp
> M +1 -1 src/qdbusmessage.h
>
>
>--- trunk/kdesupport/qt-dbus/CMakeLists.txt #548429:548430
>@@ -2,6 +2,7 @@
> SET(VERSION 0.8)
>
> OPTION(QDBUS_NODEBUG "Disable debug mode")
>+OPTION(QT_NO_DEBUG_OUTPUT "Suppress debugging output from Qt")
>
> set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
> set(CMAKE_COLOR_MAKEFILE ON)
>@@ -32,7 +33,7 @@
> SET(QTGUI ${QT_QTGUI_LIBRARY_RELEASE})
> SET(QTTEST ${QT_QTTEST_LIBRARY_RELEASE})
> SET(qt_depends "QtCore >= ${QT_MIN_VERSION} QtXml >=
> ${QT_MIN_VERSION}") - ADD_DEFINITIONS(-DQT_NO_DEBUG
> -DQT_NO_DEBUG_STREAM)
>+ SET(QT_NO_DEBUG_OUTPUT ON)
> MESSAGE(STATUS "release mode enabled")
> ELSE (QDBUS_NODEBUG)
> SET(QTCORE ${QT_QTCORE_LIBRARY_DEBUG})
>@@ -44,6 +45,9 @@
> MESSAGE(STATUS "debug mode enabled")
> ENDIF (QDBUS_NODEBUG)
>
>+IF (QT_NO_DEBUG_OUTPUT)
>+ ADD_DEFINITIONS(-DQT_NO_DEBUG_OUTPUT)
>+ENDIF (QT_NO_DEBUG_OUTPUT)
>
> INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}
> ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR}
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic