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