ObjectiveCppSourceSet

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"
                    }
                }
            }
        }
    }
}

Functions

Link copied to clipboard
abstract fun builtBy(tasks: Array<Any>)
Link copied to clipboard
abstract fun generatedBy(generatorTask: Task)
Link copied to clipboard
Link copied to clipboard
abstract fun getBuildTask(): Task
Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getLibs(): Collection<out Any>
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
abstract fun getParentName(): String
Link copied to clipboard
Link copied to clipboard
abstract fun getProjectPath(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun lib(library: Any)
Link copied to clipboard
abstract fun setBuildTask(buildTask: Task)
Link copied to clipboard
abstract fun setPreCompiledHeader(header: String)