@Incubating abstract class AbstractNativeCompileTask : DefaultTask
Compiles native source files into object files.
AbstractNativeCompileTask() |
open fun compile(inputs: IncrementalTaskInputs): Unit |
|
open fun getCompilerArgs(): ListProperty<String>
Additional arguments to provide to the compiler. |
|
open fun getIncludes(): ConfigurableFileCollection
Returns the header directories to be used for compilation. |
|
open fun getMacros(): MutableMap<String, String>
Macros that should be defined for the compiler. |
|
open fun getObjectFileDir(): DirectoryProperty
The directory where object files will be generated. |
|
open fun getSource(): ConfigurableFileCollection
Returns the source files to be compiled. |
|
open fun getSystemIncludes(): ConfigurableFileCollection
Returns the system include directories to be used for compilation. |
|
open fun getTargetPlatform(): Property<NativePlatform>
The platform being compiled for. |
|
open fun getToolChain(): Property<NativeToolChain>
The tool chain used for compilation. |
|
open fun includes(includeRoots: Any): Unit
Add directories where the compiler should search for header files. |
|
open fun isDebuggable(): Boolean
Should the compiler generate debuggable code? |
|
open fun isOptimized(): Boolean
Should the compiler generate optimized code? |
|
open fun isPositionIndependentCode(): Boolean
Should the compiler generate position independent code? |
|
open fun setDebuggable(debug: Boolean): Unit
Should the compiler generate debuggable code? |
|
open fun setMacros(macros: MutableMap<String, String>): Unit |
|
open fun setOptimized(optimize: Boolean): Unit
Should the compiler generate optimized code? |
|
open fun setPositionIndependentCode(positionIndependentCode: Boolean): Unit |
|
open fun source(sourceFiles: Any): Unit
Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per |
abstract class AbstractNativePCHCompileTask : AbstractNativeCompileTask
Compiles native header source files into object files. |
|
abstract class AbstractNativeSourceCompileTask : AbstractNativeCompileTask
Compiles native source files into object files. |