Files
qt-creator/tests/auto/debugger/gdb.pro
Christian Stenger 0e4f15996b Tests: Fix build on macOS as well
Amends d6745b488b.

Change-Id: Ic33b642347f2f6f553e674122775e0e07856c2f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-10 08:26:35 +00:00

47 lines
1.2 KiB
Prolog

QT = core network
msvc: QTC_LIB_DEPENDS += utils
include(../qttest.pri)
DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger
UTILSDIR = $$IDE_SOURCE_TREE/src/libs/utils
INCLUDEPATH += $$DEBUGGERDIR
SOURCES += \
tst_gdb.cpp \
$$DEBUGGERDIR/debuggerprotocol.cpp
HEADERS += \
$$DEBUGGERDIR/debuggerprotocol.h
!msvc {
SOURCES += \
$$UTILSDIR/environment.cpp \
$$UTILSDIR/fileutils.cpp \
$$UTILSDIR/hostosinfo.cpp \
$$UTILSDIR/namevaluedictionary.cpp \
$$UTILSDIR/namevalueitem.cpp \
$$UTILSDIR/qtcassert.cpp \
$$UTILSDIR/qtcprocess.cpp \
$$UTILSDIR/processhandle.cpp \
$$UTILSDIR/savefile.cpp \
HEADERS += \
$$UTILSDIR/environment.h \
$$UTILSDIR/fileutils.h \
$$UTILSDIR/hostosinfo.h \
$$UTILSDIR/namevaluedictionary.h \
$$UTILSDIR/namevalueitem.h \
$$UTILSDIR/qtcassert.h \
$$UTILSDIR/qtcprocess.h \
$$UTILSDIR/processhandle.h \
$$UTILSDIR/savefile.h \
macos: {
HEADERS += $$UTILSDIR/fileutils_mac.h
OBJECTIVE_SOURCES += $$UTILSDIR/fileutils_mac.mm
LIBS += -framework Foundation
}
}