Skip to content
Snippets Groups Projects
Commit 9d52a725 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Made it possible to compile libCPlusPlus without `gui'.

parent fba8e151
No related branches found
No related tags found
No related merge requests found
...@@ -3,14 +3,24 @@ INCLUDEPATH += $$PWD ...@@ -3,14 +3,24 @@ INCLUDEPATH += $$PWD
include(../../shared/cplusplus/cplusplus.pri) include(../../shared/cplusplus/cplusplus.pri)
contains(QT_CONFIG, gui) {
HEADERS += \ HEADERS += \
$$PWD/SimpleLexer.h \ $$PWD/Icons.h \
$$PWD/ExpressionUnderCursor.h \ $$PWD/ExpressionUnderCursor.h \
$$PWD/TokenUnderCursor.h \ $$PWD/TokenUnderCursor.h \
$$PWD/OverviewModel.h
SOURCES += \
$$PWD/Icons.cpp \
$$PWD/ExpressionUnderCursor.cpp \
$$PWD/TokenUnderCursor.cpp \
$$PWD/OverviewModel.cpp
}
HEADERS += \
$$PWD/SimpleLexer.h \
$$PWD/CppDocument.h \ $$PWD/CppDocument.h \
$$PWD/Icons.h \
$$PWD/Overview.h \ $$PWD/Overview.h \
$$PWD/OverviewModel.h \
$$PWD/NamePrettyPrinter.h \ $$PWD/NamePrettyPrinter.h \
$$PWD/TypeOfExpression.h \ $$PWD/TypeOfExpression.h \
$$PWD/TypePrettyPrinter.h \ $$PWD/TypePrettyPrinter.h \
...@@ -27,12 +37,8 @@ HEADERS += \ ...@@ -27,12 +37,8 @@ HEADERS += \
SOURCES += \ SOURCES += \
$$PWD/SimpleLexer.cpp \ $$PWD/SimpleLexer.cpp \
$$PWD/ExpressionUnderCursor.cpp \
$$PWD/TokenUnderCursor.cpp \
$$PWD/CppDocument.cpp \ $$PWD/CppDocument.cpp \
$$PWD/Icons.cpp \
$$PWD/Overview.cpp \ $$PWD/Overview.cpp \
$$PWD/OverviewModel.cpp \
$$PWD/NamePrettyPrinter.cpp \ $$PWD/NamePrettyPrinter.cpp \
$$PWD/TypeOfExpression.cpp \ $$PWD/TypeOfExpression.cpp \
$$PWD/TypePrettyPrinter.cpp \ $$PWD/TypePrettyPrinter.cpp \
......
load(qttest_p4) TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
QT = core testlib
include(../../../../src/libs/cplusplus/cplusplus-lib.pri) include(../../../../src/libs/cplusplus/cplusplus-lib.pri)
SOURCES += tst_lookup.cpp SOURCES += tst_lookup.cpp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment