Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,429 for ccompile (0.15 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/c/tasks/CCompile.java

    import org.gradle.language.nativeplatform.tasks.AbstractNativeSourceCompileTask;
    import org.gradle.nativeplatform.toolchain.internal.NativeCompileSpec;
    
    /**
     * Compiles C source files into object files.
     */
    @Incubating
    @CacheableTask
    public abstract class CCompile extends AbstractNativeSourceCompileTask {
        @Override
        protected NativeCompileSpec createCompileSpec() {
            return new DefaultCCompileSpec();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.language.c.tasks.CCompile.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy

            def result = Mock(WorkResult)
    
            when:
            cCompile.toolChain = toolChain
            cCompile.targetPlatform = platform
            cCompile.compilerArgs = ["arg"]
            cCompile.macros = [def: "value"]
            cCompile.objectFileDir = temporaryFolder.file("outputFile")
            cCompile.source sourceFile
            cCompile.setPreCompiledHeader pch
            execute(cCompile)
    
            then:
            _ * toolChain.outputType >> "c"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/c/plugins/CPluginTest.groovy

    import org.gradle.api.Task
    import org.gradle.language.AbstractNativeComponentPluginTest
    import org.gradle.language.base.LanguageSourceSet
    import org.gradle.language.c.CSourceSet
    import org.gradle.language.c.tasks.CCompile
    
    class CPluginTest extends AbstractNativeComponentPluginTest {
       @Override
        Class<? extends Plugin> getPluginClass() {
            return CPlugin
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/c/plugins/CLangPlugin.java

                tools.put("cCompiler", DefaultPreprocessingTool.class);
                return tools;
            }
    
            @Override
            public String getLanguageName() {
                return "c";
            }
    
            @Override
            public ToolType getToolType() {
                return ToolType.C_COMPILER;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

            buildFile << """
                // prevent assembly and c compile tasks from running in parallel
                // this is because we don't want the c compile tasks to accidentally use
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CCompile) { mustRunAfter tasks.withType(Assemble) }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/c/plugins/CPlugin.java

     *
     * <ul>
     * <li>Creates a {@link org.gradle.language.c.tasks.CCompile} task for each {@link org.gradle.language.c.CSourceSet} to compile the C sources.</li>
     * </ul>
     */
    @Incubating
    public abstract class CPlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go

    	return &compiler{
    		varEnvs: mustBuildEnvs(env),
    	}
    }
    
    // CompileClaimsExpression compiles the given expressionAccessor into a CEL program that can be evaluated.
    // The claims CEL variable is available to the expression.
    func (c compiler) CompileClaimsExpression(expressionAccessor ExpressionAccessor) (CompilationResult, error) {
    	return c.compile(expressionAccessor, claimsVarName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go

    type Compiler interface {
    	CompileCELExpression(expressionAccessor ExpressionAccessor) (CompilationResult, error)
    }
    
    type compiler struct {
    	envSet *environment.EnvSet
    }
    
    // NewCompiler returns a new Compiler.
    func NewCompiler(env *environment.EnvSet) Compiler {
    	return &compiler{
    		envSet: mustBuildEnv(env),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 20:56:52 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/compile/Compiler.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.language.base.internal.compile;
    
    import org.gradle.api.tasks.WorkResult;
    
    public interface Compiler<T extends CompileSpec> {
        WorkResult execute(T spec);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 794 bytes
    - Viewed (0)
Back to top