aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/environment.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@theqtcompany.com>2015-07-15 14:21:45 +0200
committerDaniel Teske <daniel.teske@theqtcompany.com>2015-07-17 10:25:25 +0000
commitca8b43f6c864ca18ca7da78f1dff810afa697119 (patch)
tree394506061238c8eddf685fa1d0c87759c5949208 /src/libs/utils/environment.h
parentb927391e5b0a14deeb7e47906639a1c906667bb4 (diff)
Cmake: Fix autodetection of cmake on Windows
By using some of the infrastructure in Utils::Environment. Due to wanting to find all cmake executables in PATH and not just the first one, we need some custom code. Change-Id: If3161d712b9f6e659450a3d0647f83344e68ba5d Task-number: QTCREATORBUG-14740 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Benjamin Zeller <benjamin.zeller@canonical.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/environment.h')
-rw-r--r--src/libs/utils/environment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/environment.h b/src/libs/utils/environment.h
index ec00d4c03d1..b9a79c73248 100644
--- a/src/libs/utils/environment.h
+++ b/src/libs/utils/environment.h
@@ -105,6 +105,7 @@ public:
FileName searchInPath(const QString &executable,
const QStringList &additionalDirs = QStringList()) const;
QStringList path() const;
+ QStringList appendExeExtensions(const QString &executable) const;
QString expandVariables(const QString &input) const;
QStringList expandVariables(const QStringList &input) const;