Better shield of debugging macros
authorAlberto Mardegan <alberto.mardegan@nokia.com>
Wed, 30 Mar 2011 14:11:54 +0000 (17:11 +0300)
committerAlberto Mardegan <alberto.mardegan@nokia.com>
Wed, 30 Mar 2011 14:11:54 +0000 (17:11 +0300)
commitaf9437a797a290ea8c58ac5b64c1872b85123aa7
treef821b9bc1943c092f95ea956b730c76d4bf30584
parentf1a15fcc7f53b18578c2dbd1cfb4933e979b9d2a
Better shield of debugging macros

Avoid polluting everyone's namespace with the TRACE and BLAME macros: guard
them with some preprocessor switches, so that they are available only when
explicitly requested.

Unfortunately many unit tests directly link with code modules using the TRACE()
macro; for them, make sure that this macro is available.
12 files changed:
common-project-config.pri
lib/SignOn/libsignoncommon.h
lib/plugins/SignOn/signonplugincommon.h
lib/plugins/signon-plugins-common/signon-plugins-common.pro
src/plugins/plugins.pri
src/signond/signond-common.h
tests/authpluginstest/authpluginstest.pro
tests/credentialsaccessmanagertest/credentialsaccessmanagertest.pro
tests/passwordplugintest/passwordplugintest.pro
tests/pluginproxytest/pluginproxytest.pro
tests/saslplugintest/saslplugintest.pro
tests/signond-tests/signond-tests.pro