Class WindowsResourceCompile

    • Constructor Detail

      • WindowsResourceCompile

        public WindowsResourceCompile()
    • Method Detail

      • getIncrementalCompilerBuilder

        @Inject
        public org.gradle.language.nativeplatform.internal.incremental.IncrementalCompilerBuilder getIncrementalCompilerBuilder()
      • getOperationLoggerFactory

        @Inject
        public org.gradle.internal.operations.logging.BuildOperationLoggerFactory getOperationLoggerFactory()
      • getTargetPlatform

        public Property<NativePlatform> getTargetPlatform()
        The platform being compiled for.
        Since:
        4.7
      • getOutputDir

        @OutputDirectory
        public java.io.File getOutputDir()
        The directory where object files will be generated.
      • setOutputDir

        public void setOutputDir​(java.io.File outputDir)
      • includes

        public void includes​(java.lang.Object includeRoots)
        Add directories where the compiler should search for header files.
      • source

        public void source​(java.lang.Object sourceFiles)
        Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per Project.files(Object...).
      • getMacros

        @Input
        public java.util.Map<java.lang.String,​java.lang.String> getMacros()
        Macros that should be defined for the compiler.
      • setMacros

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

        @Input
        public ListProperty<java.lang.String> getCompilerArgs()
        Additional arguments to provide to the compiler.
        Since:
        5.1