Interface ObjectiveCppSourceSet

All Superinterfaces:
Buildable, BuildableComponentSpec, ComponentSpec, DependentSourceSet, HeaderExportingSourceSet, LanguageSourceSet, ModelElement, Named

@Incubating public interface ObjectiveCppSourceSet extends HeaderExportingSourceSet, LanguageSourceSet, DependentSourceSet
A set of Objective-C++ source files.

An Objective-C++ source set contains a set of source files, together with an optional set of exported header files.

 plugins {
     id 'objective-cpp'
 }

 model {
     components {
         main(NativeLibrarySpec) {
             sources {
                 objcpp {
                     source {
                         srcDirs "src/main/objectiveCpp", "src/shared/objectiveCpp"
                         include "**/*.mm"
                     }
                     exportedHeaders {
                         srcDirs "src/main/include"
                     }
                 }
             }
         }
     }
 }