mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Bug 535565 - LLVM/Clang Broken toolchain: finds wrong libraries and does
not accept changes Removed global LLVM-settings page Removed automatic addition of libc++ and library path to project settings Change-Id: I0df65b7db73d7eb7360f7da224c326369589f882 Signed-off-by: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
This commit is contained in:
parent
ccabaa2118
commit
09180c16d2
2 changed files with 0 additions and 27 deletions
|
@ -5211,15 +5211,6 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</projectType>
|
</projectType>
|
||||||
</extension>
|
</extension>
|
||||||
<extension
|
|
||||||
point="org.eclipse.ui.preferencePages">
|
|
||||||
<page
|
|
||||||
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
|
|
||||||
class="org.eclipse.cdt.managedbuilder.llvm.ui.preferences.LlvmPreferencePage"
|
|
||||||
id="org.eclipse.cdt.managedbuilder.llvm.ui.preferences.LlvmPreferencePage"
|
|
||||||
name="%page.name">
|
|
||||||
</page>
|
|
||||||
</extension>
|
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.core.runtime.preferences">
|
point="org.eclipse.core.runtime.preferences">
|
||||||
<initializer
|
<initializer
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.managedbuilder.llvm.util;
|
package org.eclipse.cdt.managedbuilder.llvm.util;
|
||||||
|
|
||||||
import org.eclipse.cdt.managedbuilder.llvm.ui.preferences.LlvmPreferenceStore;
|
|
||||||
import org.eclipse.core.resources.IResourceChangeEvent;
|
import org.eclipse.core.resources.IResourceChangeEvent;
|
||||||
import org.eclipse.core.resources.IResourceChangeListener;
|
import org.eclipse.core.resources.IResourceChangeListener;
|
||||||
|
|
||||||
|
@ -53,23 +52,6 @@ public class LlvmResourceListener implements IResourceChangeListener {
|
||||||
// e.printStackTrace();
|
// e.printStackTrace();
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
} else if (event.getType() == IResourceChangeEvent.PRE_BUILD) {
|
|
||||||
String os = System.getProperty("os.name").toLowerCase(); //$NON-NLS-1$
|
|
||||||
if (os.indexOf("win") >= 0) { //$NON-NLS-1$
|
|
||||||
LlvmPreferenceStore.addMinGWStdLib();
|
|
||||||
// LlvmToolOptionPathUtil.addMissingCppIncludesForMingw(); //TODO: Remove when Scanner Discovery has been fixed
|
|
||||||
} else if (os.indexOf("nix") >= 0 || os.indexOf("nux") >= 0 /*|| os.indexOf( "mac") >=0 */) { //$NON-NLS-1$ //$NON-NLS-2$
|
|
||||||
LlvmPreferenceStore.addStdLibUnix();
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* try to add values (include and library paths and libraries) to
|
|
||||||
* projects's build configurations to ensure that newly added projects
|
|
||||||
* have necessary paths.
|
|
||||||
*/
|
|
||||||
LlvmToolOptionPathUtil.addAllIncludesToBuildConf();
|
|
||||||
LlvmToolOptionPathUtil.addAllLibsToBuildConf();
|
|
||||||
LlvmToolOptionPathUtil.addAllLibPathsToBuildConf();
|
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue