forked from qt-creator/qt-creator
Clang: Check for required mininum LLVM/Clang version
...otherwise, if the compilation fails, the user is left without any hint. Change-Id: I753aefac0c9fbd24b148235e792fe3b3a2aea21b Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import qbs
|
||||
import qbs.File
|
||||
import QtcClangInstallation as Clang
|
||||
import QtcFunctions
|
||||
import QtcProcessOutputReader
|
||||
|
||||
QtcPlugin {
|
||||
@@ -23,7 +24,7 @@ QtcPlugin {
|
||||
property bool clangHighlighting: true
|
||||
property bool clangIndexing: false
|
||||
|
||||
property string llvmConfig: Clang.llvmConfig(qbs)
|
||||
property string llvmConfig: Clang.llvmConfig(qbs, QtcFunctions, QtcProcessOutputReader)
|
||||
property string llvmIncludeDir: Clang.includeDir(llvmConfig, QtcProcessOutputReader)
|
||||
property string llvmLibDir: Clang.libDir(llvmConfig, QtcProcessOutputReader)
|
||||
property string llvmLibs: Clang.libraries(qbs.targetOS)
|
||||
|
||||
Reference in New Issue
Block a user