Package net.sf.antcontrib.cpptasks.ide

Examples of net.sf.antcontrib.cpptasks.ide.DependencyDef


      List dependencies = project.getDependencies();
      List projectDeps = new ArrayList();
      String basePath = dspFile.getParent();
      for(Iterator iter = dependencies.iterator(); iter.hasNext();) {
          DependencyDef dep = (DependencyDef) iter.next();
          if (dep.getFile() != null) {
            String projName = toProjectName(dep.getName());
            projectDeps.add(projName);
            String depProject = CUtil.toWindowsPath(
                      CUtil.getRelativePath(basePath,
                              new File(dep.getFile() + ".dsp")));
            writeWorkspaceProject(writer, projName, depProject, dep.getDependsList());
          }
      }

      writeWorkspaceProject(writer, projectName, dspFile.getName(), projectDeps);
View Full Code Here


          //       if it does it should not be explicitly linked
          boolean fromDependency = false;
          if (relPath.indexOf(".") > 0) {
              String baseName = relPath.substring(0, relPath.indexOf("."));
              for(Iterator iter = dependencies.iterator(); iter.hasNext(); ) {
                DependencyDef depend = (DependencyDef) iter.next();
                if (baseName.compareToIgnoreCase(depend.getName()) == 0) {
                    fromDependency = true;
                }
            }
          }
          if (!fromDependency) {
View Full Code Here

                projectDirPath, projectRoot, projectTargets);
        objects.put(project.getID(), project.getProperties());

        List frameworkBuildFiles = new ArrayList();
        for (Iterator iter = projectDef.getDependencies().iterator(); iter.hasNext();) {
            DependencyDef dependency = (DependencyDef) iter.next();
            PBXObjectRef buildFile = addDependency(objects, project, groups, basePath, dependency);
            if (buildFile != null) {
                frameworkBuildFiles.add(buildFile);
            }
        }
View Full Code Here

                     //  check if library is in dependencies list
                     //
                     String libName = linkerArgs[i].substring(2);
                     boolean found = false;
                     for(Iterator iter = dependencies.iterator();iter.hasNext();) {
                         DependencyDef dependency = (DependencyDef) iter.next();
                         if (libName.startsWith(dependency.getName())) {
                             File dependencyFile = dependency.getFile();
                             if (dependencyFile != null &&
                                     new File(dependencyFile.getAbsolutePath() + ".xcodeproj").exists()) {
                                found = true;
                                break;
                             }
View Full Code Here

              //       if it does it should not be explicitly linked
            boolean fromDependency = false;
            if (relPath.indexOf(".") > 0) {
                  String baseName = relPath.substring(0, relPath.indexOf("."));
                  for(Iterator iter = projectDependencies.iterator(); iter.hasNext(); ) {
                    DependencyDef depend = (DependencyDef) iter.next();
                    if (baseName.compareToIgnoreCase(depend.getName()) == 0) {
                        fromDependency = true;
                    }
                }
            }
View Full Code Here

TOP

Related Classes of net.sf.antcontrib.cpptasks.ide.DependencyDef

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.