aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2016-06-27 13:16:15 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2016-07-04 14:36:26 +0000
commitfcc0648ba1f61bb02188f3d2bb1fa4f768ee165f (patch)
tree576a51c29b8b70e3e7a6692b9ac12f4a9242376a /src
parent1bb11c5b83eaa6d7a2c915a3baa4848a9f8a8035 (diff)
Clang: Emit a warning if LLVM_INSTALL_DIR is not setv4.1.0-beta1
Change-Id: I18f02e0878e2037857ccd85943c13bbac9cade6b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugins.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro
index cae83a3431..071405cf51 100644
--- a/src/plugins/plugins.pro
+++ b/src/plugins/plugins.pro
@@ -75,6 +75,9 @@ exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \
isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
exists($$LLVM_INSTALL_DIR) {
SUBDIRS += clangcodemodel
+} else {
+ warning("Set LLVM_INSTALL_DIR to build the Clang Code Model. " \
+ "For details, see doc/src/editors/creator-clang-codemodel.qdoc.")
}
isEmpty(IDE_PACKAGE_MODE) {