Class NativeCompileSpec


  • public class NativeCompileSpec
    extends java.lang.Object
    • Constructor Detail

      • NativeCompileSpec

        public NativeCompileSpec()
    • Method Detail

      • getBuildType

        public org.gradle.nativeplatform.BuildType getBuildType()
      • setBuildType

        public void setBuildType​(org.gradle.nativeplatform.BuildType buildType)
      • getLanguage

        public java.lang.String getLanguage()
      • setLanguage

        public void setLanguage​(java.lang.String language)
      • isDebuggable

        public boolean isDebuggable()
      • setDebuggable

        public void setDebuggable​(boolean debuggable)
      • isPositionIndependentCode

        public boolean isPositionIndependentCode()
      • setPositionIndependentCode

        public void setPositionIndependentCode​(boolean positionIndependentCode)
      • isOptimized

        public boolean isOptimized()
      • setOptimized

        public void setOptimized​(boolean optimized)
      • getTargetPlatform

        public org.gradle.nativeplatform.platform.NativePlatform getTargetPlatform()
      • setTargetPlatform

        public void setTargetPlatform​(org.gradle.nativeplatform.platform.NativePlatform targetPlatform)
      • getIncludeRoots

        public java.util.List<java.io.File> getIncludeRoots()
      • include

        public void include​(java.lang.Iterable<java.io.File> includeRoots)
      • getSystemIncludeRoots

        public java.util.List<java.io.File> getSystemIncludeRoots()
      • systemInclude

        public void systemInclude​(java.lang.Iterable<java.io.File> systemIncludeRoots)
      • getMacros

        public java.util.Map<java.lang.String,​java.lang.String> getMacros()
      • setMacros

        public void setMacros​(java.util.Map<java.lang.String,​java.lang.String> macros)
      • getAllArgs

        public java.util.List<java.lang.String> getAllArgs()
      • args

        public void args​(java.lang.Iterable<java.lang.String> args)
      • systemArgs

        public void systemArgs​(java.lang.Iterable<java.lang.String> systemArgs)
      • setTransformer

        public void setTransformer​(ArgsTransformer transformer)
      • getToolType

        public org.gradle.nativeplatform.toolchain.internal.ToolType getToolType()
      • getCompileTool

        public java.io.File getCompileTool()
      • getNamingScheme

        public org.gradle.nativeplatform.internal.CompilerOutputFileNamingScheme getNamingScheme()
      • fromCompile

        public static NativeCompileSpec fromCompile​(org.gradle.language.nativeplatform.tasks.AbstractNativeSourceCompileTask task,
                                                    org.gradle.nativeplatform.BuildType buildType)