Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,764 for cCompiler (0.22 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/CCompiler.java

    import org.gradle.nativeplatform.toolchain.internal.compilespec.CCompileSpec;
    
    import java.util.Optional;
    
    class CCompiler extends VisualCppNativeCompiler<CCompileSpec> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/CCompiler.java

    import org.gradle.nativeplatform.toolchain.internal.CommandLineToolInvocationWorker;
    import org.gradle.nativeplatform.toolchain.internal.compilespec.CCompileSpec;
    
    class CCompiler extends GccCompatibleNativeCompiler<CCompileSpec> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/c/groovy/build.gradle

            }
        }
    }
    // end::executables[]
    
    // tag::compiler-args[]
    model {
        binaries {
            all {
                // Define toolchain-specific compiler and linker options
                if (toolChain in Gcc) {
                    cCompiler.args "-O2"
                    linker.args "-Xlinker", "-S"
                }
                if (toolChain in VisualCpp) {
                    cCompiler.args "/Zi"
                    linker.args "/DEBUG"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-monolithic/common.gradle

            }
        }
        binaries {
            all {
                cCompiler.define "SOMETHING1=0"
                cCompiler.define "SOMETHING2=0"
                cCompiler.define "SOMETHING3=0"
                cCompiler.define "SOMETHING4=0"
                cCompiler.define "SOMETHING5=0"
                cCompiler.define "SOMETHING6=0"
                cCompiler.define "SOMETHING7=0"
    
                cppCompiler.define "SOMETHING1=0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCustomisationIntegrationTest.groovy

                }
    
                target("alwaysCPlusPlus") {
                    def compilerMap = [gcc: 'g++', clang: 'clang++']
                    cCompiler.executable = compilerMap[cCompiler.executable]
                    cCompiler.withArguments { args ->
                        Collections.replaceAll(args, "c", "c++")
                    }
                }
            }
        }
    
        platforms {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. 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)
  7. testing/performance/src/templates/native-pch-component/build.gradle

                        }
                    }
                    binaries.all {
                        if (toolChain.name == "visualCpp") {
                            cCompiler.args("/showIncludes")
                        } else {
                            cCompiler.args("-H")
                        }
                    }
                }
            }
            <% } %>
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

                            if (toolChain in VisualCpp) {
                                cCompiler.args '/DVERSION="The version is \\'1.0\\'"'
                                linker.args '/MANIFESTUAC:level=\\'asInvoker\\' uiAccess=\\'false\\''
                            } else if (toolChain in Clang) {
                                cCompiler.args '-frandom-seed="here is the \\'random\\' seed"'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainDiscoveryIntegrationTest.groovy

            executable("build/exe/main/main").exec().out == helloWorldApp.englishOutput
        }
    
        def "does not break when compiler not available and not building"() {
            when:
            buildFile << """
    model {
        toolChains {
            ${toolChain.id} {
                eachPlatform {
                    cCompiler.executable = 'does-not-exist'
                    cppCompiler.executable = 'does-not-exist'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractNativeBinarySpec.java

                .put("assembler", assembler)
                .put("cCompiler", cCompiler)
                .put("cppCompiler", cppCompiler)
                .put("objcCompiler", objcCompiler)
                .put("objcppCompiler", objcppCompiler)
                .put("rcCompiler", rcCompiler)
                .build();
    
        private PlatformToolProvider toolProvider;
        private Flavor flavor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top