forked from qt-creator/qt-creator
Autotests: Compile on Windows
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
|
contains(CONFIG, dll) {
|
||||||
DEFINES += CPLUSPLUS_BUILD_LIB
|
DEFINES += CPLUSPLUS_BUILD_LIB
|
||||||
|
} else {
|
||||||
|
DEFINES += CPLUSPLUS_BUILD_STATIC_LIB
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
|
|
||||||
include(../../shared/cplusplus/cplusplus.pri)
|
include(../../shared/cplusplus/cplusplus.pri)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
|
CONFIG+=dll
|
||||||
TARGET = CPlusPlus
|
TARGET = CPlusPlus
|
||||||
|
|
||||||
DEFINES += NDEBUG
|
DEFINES += NDEBUG
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ TEMPLATE = lib
|
|||||||
TARGET = Utils
|
TARGET = Utils
|
||||||
QT += gui \
|
QT += gui \
|
||||||
network
|
network
|
||||||
DEFINES += QTCREATOR_UTILS_LIBRARY
|
DEFINES += QTCREATOR_UTILS_LIB
|
||||||
include(../../qtcreatorlibrary.pri)
|
include(../../qtcreatorlibrary.pri)
|
||||||
SOURCES += reloadpromptutils.cpp \
|
SOURCES += reloadpromptutils.cpp \
|
||||||
settingsutils.cpp \
|
settingsutils.cpp \
|
||||||
|
|||||||
@@ -32,8 +32,10 @@
|
|||||||
|
|
||||||
#include <QtCore/qglobal.h>
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
#if defined(QTCREATOR_UTILS_LIBRARY)
|
#if defined(QTCREATOR_UTILS_LIB)
|
||||||
# define QTCREATOR_UTILS_EXPORT Q_DECL_EXPORT
|
# define QTCREATOR_UTILS_EXPORT Q_DECL_EXPORT
|
||||||
|
#elif defined(QTCREATOR_UTILS_STATIC_LIB) // Abuse single files for manual tests
|
||||||
|
# define QTCREATOR_UTILS_EXPORT
|
||||||
#else
|
#else
|
||||||
# define QTCREATOR_UTILS_EXPORT Q_DECL_IMPORT
|
# define QTCREATOR_UTILS_EXPORT Q_DECL_IMPORT
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -54,6 +54,8 @@
|
|||||||
|
|
||||||
# if defined(CPLUSPLUS_BUILD_LIB)
|
# if defined(CPLUSPLUS_BUILD_LIB)
|
||||||
# define CPLUSPLUS_EXPORT Q_DECL_EXPORT
|
# define CPLUSPLUS_EXPORT Q_DECL_EXPORT
|
||||||
|
# elif defined(CPLUSPLUS_BUILD_STATIC_LIB)
|
||||||
|
# define CPLUSPLUS_EXPORT
|
||||||
# else
|
# else
|
||||||
# define CPLUSPLUS_EXPORT Q_DECL_IMPORT
|
# define CPLUSPLUS_EXPORT Q_DECL_IMPORT
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
|
DEFINES+=CPLUSPLUS_BUILD_STATIC_LIB
|
||||||
INCLUDEPATH += $$PWD/../../../../src/shared/cplusplus
|
INCLUDEPATH += $$PWD/../../../../src/shared/cplusplus
|
||||||
INCLUDEPATH += $$PWD/../../../../src/libs/cplusplus
|
INCLUDEPATH += $$PWD/../../../../src/libs/cplusplus
|
||||||
DEPENDPATH += $$INCLUDEPATH .
|
DEPENDPATH += $$INCLUDEPATH .
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
SUBDIRS = dumpers.pro plugin.pro gdb.pro
|
SUBDIRS = dumpers.pro plugin.pro
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
|
|
||||||
QT += testlib
|
QT += testlib
|
||||||
|
|
||||||
|
# Defines import symbol as empty
|
||||||
|
DEFINES+=QTCREATOR_UTILS_STATIC_LIB
|
||||||
|
|
||||||
FAKEVIMDIR = ../../../src/plugins/fakevim
|
FAKEVIMDIR = ../../../src/plugins/fakevim
|
||||||
UTILSDIR = ../../../src/libs
|
UTILSDIR = ../../../src/libs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user