Exemplo n.º 1
0
  public DefaultCppSourceSet(String name, ProjectInternal project) {
    this.name = name;

    this.exportedHeaders =
        new DefaultSourceDirectorySet("exported headers", project.getFileResolver());
    this.source = new DefaultSourceDirectorySet("source", project.getFileResolver());
    this.libs = new DefaultDomainObjectSet<NativeDependencySet>(NativeDependencySet.class);
    this.configurationDependencySet = new ConfigurationBasedNativeDependencySet(project, name);

    libs.add(configurationDependencySet);
  }
Exemplo n.º 2
0
 public void lib(Object library) {
   libs.add(NativeDependencyNotationParser.parser().parseNotation(library));
 }