forked from qt-creator/qt-creator
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:
@@ -1,4 +1,4 @@
|
||||
DEFINES += ANALYZER_LIBRARY
|
||||
DEFINES += ANALYZERBASE_LIBRARY
|
||||
|
||||
include(../../qtcreatorplugin.pri)
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user