forked from qt-creator/qt-creator
If we use paths with spaces we cannot split them anymore so we have to handle unix and windows differently. Change-Id: Ibfc8c51cfe2ecd68e913ad84e0e1269eb7eeda02 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
14 lines
460 B
Plaintext
14 lines
460 B
Plaintext
isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
|
|
!isEmpty(LLVM_INSTALL_DIR) {
|
|
include(../../../src/shared/clang/clang_installation.pri)
|
|
requires(!isEmpty(LIBCLANG_LIBS))
|
|
|
|
equals(LLVM_IS_COMPILED_WITH_RTTI, "NO") : message("LLVM needs to be compiled with RTTI!")
|
|
requires(equals(LLVM_IS_COMPILED_WITH_RTTI, "YES"))
|
|
|
|
DEFINES += CLANG_UNIT_TESTS
|
|
INCLUDEPATH += $$LLVM_INCLUDEPATH
|
|
win32:LIBS += -lVersion
|
|
LIBS += $$LIBTOOLING_LIBS $$LIBCLANG_LIBS
|
|
}
|