Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,029 for cCompiler (0.14 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/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy

        def "compiler defines are taken from cpp, c and rc compiler configurations combined"() {
            when:
            cCompiler.macros >> [_c: null]
            cppCompiler.macros >> [foo: "bar", _cpp: null]
            rcCompiler.macros >> [rc: "defined", rc_empty: null]
            exeBinary.getToolByName('cCompiler') >> cCompiler
            exeBinary.getToolByName('cppCompiler') >> cppCompiler
            exeBinary.getToolByName('rcCompiler') >> rcCompiler
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            bean.url == 'lower-case' && bean.getUrl() == bean.url
            bean.URL == 'upper-case' && bean.getURL() == bean.URL
            bean.cCompiler == 'lower-case first char' && bean.getcCompiler() == bean.cCompiler
            bean.CCompiler == 'upper-case first char' && bean.getCCompiler() == bean.CCompiler
            bean.cppCompiler == 'cppCompiler' && bean.getCppCompiler() == bean.cppCompiler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top