unify _LIBRARY defines

The _LIBRARY defines for plugins should consist of the plugin name
plus the suffix _LIBRARY to make it possible to generate those
automatically.

Change-Id: Icafc9bce876d77521b47d815c94e7df6da061a51
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Joerg Bornemann
2013-05-07 15:51:51 +02:00
parent 6bf2cd3673
commit da817a7c7d
6 changed files with 4 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
DEFINES += ANALYZER_LIBRARY
DEFINES += ANALYZERBASE_LIBRARY
include(../../qtcreatorplugin.pri)

View File

@@ -12,9 +12,6 @@ QtcPlugin {
Depends { name: "ProjectExplorer" }
Depends { name: "TextEditor" }
Depends { name: "cpp" }
cpp.defines: base.concat("ANALYZER_LIBRARY")
files: [
"analyzerbase.qrc",
"analyzerbase_global.h",

View File

@@ -33,7 +33,7 @@
#include <qglobal.h>
#if defined(ANALYZER_LIBRARY)
#if defined(ANALYZERBASE_LIBRARY)
# define ANALYZER_EXPORT Q_DECL_EXPORT
#else
# define ANALYZER_EXPORT Q_DECL_IMPORT