public interface HasCSources
HasCSourceSet| Modifier and Type | Method and Description |
|---|---|
default void |
cSources(Action<? super CSourceSet> action)
Configures the C sources of this component using the specified configuration action.
|
default void |
cSources(groovy.lang.Closure<Void> closure)
Configures the C sources of this component using the specified configuration closure.
|
default CSourceSet |
getCSources()
Defines the C sources of this component.
|
default CSourceSet getCSources()
By default, the source set contains all files in the directory src/componentName/c, where componentName represent this component's name, i.e. main or test.
CSourceSetdefault void cSources(Action<? super CSourceSet> action)
action - the configuration action, must not be nullgetCSources()default void cSources(@DelegatesTo(value=CSourceSet.class,strategy=1) groovy.lang.Closure<Void> closure)
closure - the configuration closure, must not be nullgetCSources()