# DependentSourceSet

@Incubating
interface DependentSourceSet : LanguageSourceSet(source)

A source set that depends on one or more org.gradle.nativeplatform.NativeDependencySets to be built.

#### Inheritors

ObjectiveCppSourceSet
CSourceSet
CppSourceSet
ObjectiveCSourceSet

## Functions

builtBy
Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
generatedBy
Link copied to clipboard
abstract fun generatedBy(generatorTask: Task)
getBuildDependencies
Link copied to clipboard
abstract fun getBuildDependencies(): TaskDependency
getBuildTask
Link copied to clipboard
abstract fun getBuildTask(): @Nullable Task
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getLibs
Link copied to clipboard
abstract fun getLibs(): Collection<out Any>
The libraries that this source set requires.
getName
Link copied to clipboard
abstract fun getName(): String
getParentName
Link copied to clipboard
abstract fun getParentName(): @Nullable String
getPreCompiledHeader
Link copied to clipboard
abstract fun getPreCompiledHeader(): String
Returns the pre-compiled header configured for this source set.
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
getSource
Link copied to clipboard
abstract fun getSource(): SourceDirectorySet
hasBuildDependencies
Link copied to clipboard
abstract fun hasBuildDependencies(): Boolean
lib
Link copied to clipboard
abstract fun lib(library: Any)
Adds a library that this source set requires.
setBuildTask
Link copied to clipboard
abstract fun setBuildTask(buildTask: @Nullable Task)
setPreCompiledHeader
Link copied to clipboard
abstract fun setPreCompiledHeader(header: String)
Sets the pre-compiled header to be used when compiling sources in this source set.