Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2016-05-16 14:39:02 +0000
committerGerrit Code Review @ Eclipse.org2016-05-16 19:15:39 +0000
commit1cd5ff51699c3908165683a377a97bb7348eb72b (patch)
tree07b8e2de920323db4c247efea4b1fdf3fcbe68c2 /build/org.eclipse.cdt.build.gcc.core
parent022e9428fd07f17fc19724af8a13cfcf84236dec (diff)
downloadorg.eclipse.cdt-1cd5ff51699c3908165683a377a97bb7348eb72b.tar.gz
org.eclipse.cdt-1cd5ff51699c3908165683a377a97bb7348eb72b.tar.xz
org.eclipse.cdt-1cd5ff51699c3908165683a377a97bb7348eb72b.zip
Fix a few things for the QML editor.
Fixed up content type warning. Hooked up colors for the QMLEditor to the CEditor preferences. Fixed up tabbing in the main.qml template. Fixed the GCC toolchain to find compiler on path on windows. Change-Id: I66a013666d1ab99bfe94a2a558486cc81681c67c
Diffstat (limited to 'build/org.eclipse.cdt.build.gcc.core')
-rw-r--r--build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/GCCToolChain.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/GCCToolChain.java b/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/GCCToolChain.java
index 710a8c952e0..f2117a113f8 100644
--- a/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/GCCToolChain.java
+++ b/build/org.eclipse.cdt.build.gcc.core/src/org/eclipse/cdt/build/gcc/core/GCCToolChain.java
@@ -289,6 +289,12 @@ public class GCCToolChain extends PlatformObject implements IToolChain {
return command;
}
+ if (Platform.getOS().equals(Platform.OS_WIN32)) {
+ if (!command.toString().endsWith(".exe")) { //$NON-NLS-1$
+ command = Paths.get(command.toString() + ".exe"); //$NON-NLS-1$
+ }
+ }
+
if (path != null) {
for (Path p : path) {
Path c = p.resolve(command);

Back to the top