CppSourceSet (Gradle API 2.9)
Date: 2015-11-17

Package: org.gradle.language.cpp

## [Java] Interface CppSourceSet

- org.gradle.language.nativeplatform.HeaderExportingSourceSet

- All Superinterfaces:
    DependentSourceSet, LanguageSourceSet, Buildable, 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: "cpp"

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

- - ### Inherited Methods Summary

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