Commit 202d4a52 authored by Nikolai Kosjar's avatar Nikolai Kosjar

Clang: Fix build with QTC_NO_CLANG_LIBTOOLING

...caused by

  commit f5d68398
  Clang: Fix canceling of clang query

Change-Id: Ic48485aed1d23e1ddd2f7bc1e37a797d2c2498c6
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 1f18848e
INCLUDEPATH += $$PWD
HEADERS += \
$$PWD/clangrefactoringbackend_global.h \
$$PWD/clangquerygatherer.h
$$PWD/clangrefactoringbackend_global.h
!isEmpty(LIBTOOLING_LIBS) {
SOURCES += \
......@@ -15,7 +14,8 @@ SOURCES += \
$$PWD/clangquery.cpp \
$$PWD/clangtool.cpp \
$$PWD/sourcerangeextractor.cpp \
$$PWD/locationsourcefilecallbacks.cpp
$$PWD/locationsourcefilecallbacks.cpp \
$$PWD/clangquerygatherer.cpp
HEADERS += \
$$PWD/refactoringcompilationdatabase.h \
......@@ -30,8 +30,6 @@ HEADERS += \
$$PWD/clangquery.h \
$$PWD/clangtool.h \
$$PWD/sourcerangeextractor.h \
$$PWD/locationsourcefilecallbacks.h
$$PWD/locationsourcefilecallbacks.h \
$$PWD/clangquerygatherer.h
}
SOURCES += \
$$PWD/clangquerygatherer.cpp
......@@ -63,7 +63,6 @@ SOURCES += \
projectupdater-test.cpp \
pchmanagerserver-test.cpp \
pchmanagerclientserverinprocess-test.cpp \
clangquerygatherer-test.cpp
!isEmpty(LIBCLANG_LIBS) {
SOURCES += \
......@@ -125,6 +124,7 @@ SOURCES += \
!isEmpty(LIBTOOLING_LIBS) {
SOURCES += \
clangquery-test.cpp \
clangquerygatherer-test.cpp \
clangqueryprojectfindfilter-test.cpp \
refactoringclientserverinprocess-test.cpp \
refactoringclient-test.cpp \
......
Markdown is supported
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