Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,762 for cCompiler (0.22 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/build.gradle

    // tag::configure-test-binary[]
    model {
        binaries {
            withType(CUnitTestSuiteBinarySpec) {
                lib library: "cunit", linkage: "static"
    
                if (flavor == flavors.failing) {
                    cCompiler.define "PLUS_BROKEN"
                }
            }
        }
    }
    // end::configure-test-binary[]
    // end::complete-example[]
    
    def findCUnitLibForPlatform(Platform platform) {
        if (platform.operatingSystem.windows) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/RealWorldNativePluginPerformanceTest.groovy

        }
    
        void changeArgs(File file, String originalContent) {
            file.text = originalContent.
                replaceFirst(~/cCompiler.define "SOMETHING7=0"/, 'cCompiler.define "SOMETHING_NEW=0"').
                replaceFirst(~/cppCompiler.define "SOMETHING7=0"/, 'cppCompiler.define "SOMETHING_NEW=0"')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/CCompilerTest.groovy

    class CCompilerTest extends GccCompatibleNativeCompilerTest {
    
        @Override
        protected NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile) {
            new CCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool, invocationContext, objectFileExtension, useCommandFile, workerLeaseService)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/tool-chains/groovy/build.gradle

                    cppCompiler.withArguments { args ->
                        args << "-DFRENCH"
                    }
                }
            }
            clang(Clang) {
                eachPlatform {
                    cCompiler.withArguments { args ->
                        Collections.replaceAll(args, "CUSTOM", "-DFRENCH")
                    }
                    linker.withArguments { args ->
                        args.remove "CUSTOM"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.nativeplatform.NativeBinarySpec.xml

                </tr>
                <tr>
                    <td>cCompiler</td>
                </tr>
                <tr>
                    <td>cppCompiler</td>
                </tr>
                <tr>
                    <td>objcCompiler</td>
                </tr>
                <tr>
                    <td>objcppCompiler</td>
                </tr>
                <tr>
                    <td>rcCompiler</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/CCompilerTest.groovy

    class CCompilerTest extends VisualCppNativeCompilerTest {
    
        @Override
        protected NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile) {
            new CCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool, invocationContext, Transformers.noOpTransformer(), objectFileExtension, useCommandFile, workerLeaseService)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.nativeplatform.toolchain.ConfigurableToolChain.xml

            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <!-- <tr><td>assembler</td></tr>
                <tr><td>cCompiler</td></tr>
                <tr><td>cppCompiler</td></tr>
                <tr><td>linker</td></tr>
                <tr><td>objcCompiler</td></tr>
                <tr><td>objcppCompiler</td></tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCrossCompilationIntegrationTest.groovy

                operatingSystem 'windows'
            }
        }
        toolChains {
            ${toolChain.id} {
                target('custom') {
                    if (${!OperatingSystem.current().windows}) {
                        cCompiler.withArguments { it << '-fPIC' }
                    }
                }
            }
        }
        components {
            all {
                targetPlatform "custom"
            }
        }
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/ClangToolChainTest.groovy

            then:
            1 * action.execute(_) >> { GccPlatformToolChain platformToolChain ->
                assert platformToolChain.assembler.executable == 'clang'
                assert platformToolChain.cCompiler.executable == 'clang'
                assert platformToolChain.cppCompiler.executable == 'clang++'
                assert platformToolChain.objcCompiler.executable == 'clang'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/InstallExecutableIntegrationTest.groovy

                architecture "x86"
            }
        }
        toolChains {
            ${toolChain.id} {
                target('${installOS}') {
                    if (${!OperatingSystem.current().windows}) {
                        cCompiler.withArguments { it << '-fPIC' }
                    }
                }
            }
        }
        components.main {
            targetPlatform "$installOS"
        }
    }
            """
            and:
            succeeds "install"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top