Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.plugins.cpp
[Java] Interface CppSourceSet

    org.gradle.api.tasks.SourceSet
      org.gradle.plugins.cpp.CppSourceSet
          org.gradle.plugins.binaries.model.NativeDependencyCapableSourceSet
              org.gradle.plugins.binaries.model.HeaderExportingSourceSet
                  org.gradle.api.Named

All Superinterfaces:
  SourceSet, NativeDependencyCapableSourceSet, Named, HeaderExportingSourceSet

    public interface CppSourceSet
    extends HeaderExportingSourceSet, Named, NativeDependencyCapableSourceSet

A representation of a unit of cpp source

Method Summary
`void` | `dependency(java.util.Map dep)` Add a dependency to this source set
`CppSourceSet` | `exportedHeaders(groovy.lang.Closure closure)` The headers.
`SourceDirectorySet` | `getExportedHeaders()` The headers.
`DomainObjectSet` | `getLibs()` Libs this source set requires
`SourceDirectorySet` | `getSource()` The source.
`CppSourceSet` | `source(groovy.lang.Closure closure)` The source.

Methods inherited from interface NativeDependencyCapableSourceSet
getNativeDependencySets

Methods inherited from interface Named
getName

Methods inherited from interface HeaderExportingSourceSet
getExportedHeaders

Method Detail

### dependency

    public void dependency(java.util.Map dep)

  Add a dependency to this source set

### exportedHeaders

    public CppSourceSet exportedHeaders(groovy.lang.Closure closure)

  The headers.

### getExportedHeaders

    public SourceDirectorySet getExportedHeaders()

  The headers.

### getLibs

    public DomainObjectSet getLibs()

  Libs this source set requires

### getSource

    public SourceDirectorySet getSource()

  The source.

### source

    public CppSourceSet source(groovy.lang.Closure closure)

  The source.

Groovy Documentation