org.gradle.language.cpp
[Java] Interface CppSourceSet
org.gradle.language.HeaderExportingSourceSet
org.gradle.language.cpp.CppSourceSet
org.gradle.language.DependentSourceSet
org.gradle.language.base.BuildableModelElement
org.gradle.language.base.LanguageSourceSet
org.gradle.api.Buildable
org.gradle.api.Named
- All Superinterfaces:
- HeaderExportingSourceSet, DependentSourceSet, BuildableModelElement, LanguageSourceSet, Buildable, Named
@Incubating
public interface CppSourceSet
extends DependentSourceSet, HeaderExportingSourceSet, LanguageSourceSet
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"
sources {
main {
// Configure an existing CppSourceSet
cpp {
source {
srcDirs "src/main/cpp", "src/shared/c++"
include "**{
- literal:
- /}*.cpp"
}
exportedHeaders {
srcDirs "src/main/include", "src/shared/include"
}
}
}
}
Gradle API 1.12