Commit f13d4a10 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Autotests: Compile on Windows


Reviewed-by: default avatarRoberto Raggi <qtc-committer@nokia.com>
parent 4091efb4
DEFINES += CPLUSPLUS_BUILD_LIB
contains(CONFIG, dll) {
DEFINES += CPLUSPLUS_BUILD_LIB
} else {
DEFINES += CPLUSPLUS_BUILD_STATIC_LIB
}
INCLUDEPATH += $$PWD
include(../../shared/cplusplus/cplusplus.pri)
......
TEMPLATE = lib
CONFIG+=dll
TARGET = CPlusPlus
DEFINES += NDEBUG
......
......@@ -2,7 +2,7 @@ TEMPLATE = lib
TARGET = Utils
QT += gui \
network
DEFINES += QTCREATOR_UTILS_LIBRARY
DEFINES += QTCREATOR_UTILS_LIB
include(../../qtcreatorlibrary.pri)
SOURCES += reloadpromptutils.cpp \
settingsutils.cpp \
......
......@@ -32,8 +32,10 @@
#include <QtCore/qglobal.h>
#if defined(QTCREATOR_UTILS_LIBRARY)
#if defined(QTCREATOR_UTILS_LIB)
# define QTCREATOR_UTILS_EXPORT Q_DECL_EXPORT
#elif defined(QTCREATOR_UTILS_STATIC_LIB) // Abuse single files for manual tests
# define QTCREATOR_UTILS_EXPORT
#else
# define QTCREATOR_UTILS_EXPORT Q_DECL_IMPORT
#endif
......
......@@ -54,6 +54,8 @@
# if defined(CPLUSPLUS_BUILD_LIB)
# define CPLUSPLUS_EXPORT Q_DECL_EXPORT
# elif defined(CPLUSPLUS_BUILD_STATIC_LIB)
# define CPLUSPLUS_EXPORT
# else
# define CPLUSPLUS_EXPORT Q_DECL_IMPORT
# endif
......
DEFINES+=CPLUSPLUS_BUILD_STATIC_LIB
INCLUDEPATH += $$PWD/../../../../src/shared/cplusplus
INCLUDEPATH += $$PWD/../../../../src/libs/cplusplus
DEPENDPATH += $$INCLUDEPATH .
......
TEMPLATE = subdirs
SUBDIRS = dumpers.pro plugin.pro gdb.pro
SUBDIRS = dumpers.pro plugin.pro
QT += testlib
# Defines import symbol as empty
DEFINES+=QTCREATOR_UTILS_STATIC_LIB
FAKEVIMDIR = ../../../src/plugins/fakevim
UTILSDIR = ../../../src/libs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment