Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for linkTask (0.74 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/plugins/NativeComponentModelPlugin.java

                    public void execute(LinkSharedLibrary linkTask) {
                        linkTask.setDescription("Links " + binary.getDisplayName());
                        linkTask.getToolChain().set(binary.getToolChain());
                        linkTask.getTargetPlatform().set(binary.getTargetPlatform());
                        linkTask.getLinkedFile().set(binary.getSharedLibraryFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestCppInteroperabilityIntegrationTest.groovy

                }
    
                [library, xctest]*.binaries*.configureEach {
                    if (targetMachine.operatingSystemFamily.macOs) {
                        linkTask.get().linkerArgs.add("-lc++")
                    } else if (targetMachine.operatingSystemFamily.linux) {
                        linkTask.get().linkerArgs.add("-lstdc++")
                    }
                }
    
                project(':cppGreeter') {
                    apply plugin: 'cpp-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/native/tooling-native/src/main/java/org/gradle/language/cpp/internal/tooling/CppModelBuilder.java

                    LinkExecutable linkTask = componentWithExecutable.getLinkTask().get();
                    LaunchableGradleTask linkTaskModel = buildLaunchableTask(projectIdentifier, componentWithExecutable.getExecutableFileProducer().get());
                    DefaultLinkageDetails linkageDetails = new DefaultLinkageDetails(linkTaskModel, componentWithExecutable.getExecutableFile().get().getAsFile(), args(linkTask.getLinkerArgs().get()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpecTest.groovy

        }
    
        def "returns link task when defined"() {
            given:
            def binary = sharedLibrary
    
            when:
            final linkTask = TestUtil.create(tmpDir).task(LinkSharedLibrary)
            binary.tasks.add(linkTask)
    
            then:
            binary.tasks.link == linkTask
        }
    
        private def getSharedLibrary() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

                compile.macros == [NDEBUG: null, LEVEL: "1"]
                compile.compilerArgs == ["ARG1", "ARG2"]
            }
    
            and:
            def linkTask = binary.tasks.link
            linkTask TaskDependencyMatchers.dependsOn("compileTestExecutableTestAnotherOne", "compileTestExecutableTest${StringUtils.capitalize(pluginName)}")
        }
    
    
        def touch(String filePath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy

            when:
            project.pluginManager.apply(CppBasePlugin)
            project.components.add(executable)
    
            then:
            def link = project.tasks[linkTask]
            link instanceof LinkExecutable
            link.linkedFile.get().asFile == projectDir.file("build/exe/$exeDir" + OperatingSystem.current().getExecutableName("test_app"))
    
            def install = project.tasks[installTask]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryCppInteroperabilityIntegrationTest.groovy

                    }
                    library.binaries.configureEach {
                        if (targetMachine.operatingSystemFamily.macOs) {
                            linkTask.get().linkerArgs.add("-lc++")
                        } else if (targetMachine.operatingSystemFamily.linux) {
                            linkTask.get().linkerArgs.add("-lstdc++")
                        }
                    }
                }
                project(':cppGreeter') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/assembler/plugins/AssemblerPluginTest.groovy

                compile instanceof Assemble
                compile.toolChain == binary.toolChain
                compile.assemblerArgs == ["ARG1", "ARG2"]
            }
    
            and:
            def linkTask = binary.tasks.link
            linkTask TaskDependencyMatchers.dependsOn("assembleTestExecutableTestAnotherOne", "assembleTestExecutableTestAsm")
        }
    
        def "creates assemble tasks for each library source set"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftBasePluginTest.groovy

            when:
            project.pluginManager.apply(SwiftBasePlugin)
            project.components.add(executable)
    
            then:
            def link = project.tasks[linkTask]
            link instanceof LinkExecutable
            link.linkedFile.get().asFile == projectDir.file("build/exe/$exeDir" + OperatingSystem.current().getExecutableName("test_app"))
    
            def install = project.tasks[installTask]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/tasks/ExtractSymbolsIntegrationTest.groovy

                }
    
                task extractSymbolsDebug(type: ExtractSymbols) { extract ->
                    project.application.binaries.get { !it.optimized }.configure {
                        def linkDebug = linkTask.get()
                        extract.toolChain = linkDebug.toolChain
                        extract.targetPlatform = linkDebug.targetPlatform
                        extract.binaryFile.set linkDebug.linkedFile
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top