CSourceSet (Gradle API 2.14.1)
Date: 2016-07-18

Package: org.gradle.language.c

## [Java] Interface CSourceSet

- org.gradle.language.c.CSourceSet

- All Superinterfaces:
    ModelElement, DependentSourceSet, LanguageSourceSet, ComponentSpec, HeaderExportingSourceSet, Named, Buildable

  A set of C source files.

  A C source set contains a set of source files, together with an optional set of exported header files.

       apply plugin: "c"

       model {
           components {
               main(NativeLibrarySpec) {
                   sources {
                       c {
                           source {
                               srcDirs "src/main/cpp", "src/shared/c++"
                               include "**/*.c"
                           }
                           exportedHeaders {
                               srcDirs "src/main/include"
                           }
                       }
                   }
               }
           }
       }

- - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface DependentSourceSet` | `getLibs, getPreCompiledHeader, lib, setPreCompiledHeader`
    `interface HeaderExportingSourceSet` | `getExportedHeaders, getImplicitHeaders`
    `interface LanguageSourceSet` | `generatedBy, getParentName, getSource`
    `interface BuildableComponentSpec` | `builtBy, hasBuildDependencies, setBuildTask, getBuildTask, getBuildDependencies, getProjectPath, getName, getDisplayName`