Package org.eclipse.cdt.managedbuilder.gnu.mingw

Examples of org.eclipse.cdt.managedbuilder.gnu.mingw.MingwEnvironmentVariableSupplier


          IBuildEnvironmentVariable mingwPath=null, cygwinPath=null;
          //if path is empty
          if (envPath == null) {
            //try to find mingw path from MingwEnvironmentVariableSupplier
            IConfigurationEnvironmentVariableSupplier mingwEnvironmentVariables =
              new MingwEnvironmentVariableSupplier();
            mingwPath = mingwEnvironmentVariables.getVariable(
                ENV_VAR_NAME_PATH, null, null);
            //try to find cygwin path from GnuCygwinConfigurationEnvironmentSupplier
            IConfigurationEnvironmentVariableSupplier cygwinEnvironmentVariables =
              new GnuCygwinConfigurationEnvironmentSupplier();
            cygwinPath = cygwinEnvironmentVariables.getVariable(
View Full Code Here


  //temporary hack until scanner discovery works
  public static void addMissingCppIncludesForMingw() {
    //try to find mingw path from MingwEnvironmentVariableSupplier
    IConfigurationEnvironmentVariableSupplier mingwEnvironmentVariables =
      new MingwEnvironmentVariableSupplier();
    IBuildEnvironmentVariable mingwPath = mingwEnvironmentVariables.getVariable(
        "PATH", null, null); //$NON-NLS-1$
    //may contain multiple paths therefore must be separated
    String[] mingwPaths = mingwPath.getValue().split(Separators.getPathSeparator());
    //bin folder is appended so it must be removed
    for(int i=0; i<mingwPaths.length; i++) {
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.managedbuilder.gnu.mingw.MingwEnvironmentVariableSupplier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.