Package: org.gradle.language.c

## [Java] Interface CSourceSet

- org.gradle.language.nativeplatform.HeaderExportingSourceSet

- All Superinterfaces:
    LanguageSourceSet, Buildable, BuildableModelElement, DependentSourceSet, Named, HeaderExportingSourceSet

  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"

       executables{
           main{}
       }

       sources {
           main {
               // Configure an existing CSourceSet
               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, lib`
    `interface HeaderExportingSourceSet` | `exportedHeaders, getExportedHeaders, getImplicitHeaders`
    `interface LanguageSourceSet` | `generatedBy, getDisplayName, getSource, source`
    `interface BuildableModelElement` | `builtBy, getBuildTask, hasBuildDependencies, setBuildTask`
    `interface Named` | `getName`