Package dtool.engine.compiler_installs

Examples of dtool.engine.compiler_installs.CompilerInstallDetector


 
 
  @Test
  public void testBasic() throws Exception { testBasic$(); }
  public void testBasic$() throws Exception {
    detector = new CompilerInstallDetector();
   
    testDetectInstall(MOCK_DMD, "windows/bin/dmd.exe", ECompilerType.DMD, list(
      "src/druntime/import",
      "src/phobos"
    ));
View Full Code Here


    return stdLibResolutions.getEntry(foundInstall); // found install can be null
  }
 
  protected CompilerInstall getCompilerInstallForNewResolution(Path compilerPath) {
    if(compilerPath != null) {
      return new CompilerInstallDetector().detectInstallFromCompilerCommandPath(compilerPath);
    } else {
      // TODO: determine a better match according to compiler type.
      return new SM_SearchCompilersOnPath().searchForCompilersInDefaultPathEnvVars().getPreferredInstall();
    }
  }
View Full Code Here

TOP

Related Classes of dtool.engine.compiler_installs.CompilerInstallDetector

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.