Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 615 for 1library (0.15 sec)

  1. platforms/documentation/docs/src/docs/userguide/native/swift_library_plugin.adoc

    Note the default linkage of a Swift library is shared linkage as shown in the diagram.
    
    .Swift Library Plugin default task graph
    image::swift-shared-library-task-graph.png[]
    
    With static linkage, the diagram changes to the following:
    
    .Swift Library Plugin static library only task graph
    image::swift-static-library-task-graph.png[]
    
    [[sec:swift_library_task_variants]]
    === Variant-dependent Tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy

                                        lib project: ':api', library: 'api'
                                        lib project: ':spi', library: 'spi'
                                        lib project: ':runtime', library: 'runtime'
                                        lib library: 'bootstrap'
                                        lib project: ':libraries', library: 'foo'
                                        lib project: ':libraries', library: 'bar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/swift/plugins/SwiftLibraryPlugin.java

            final DefaultSwiftLibrary library = componentFactory.newInstance(SwiftLibrary.class, DefaultSwiftLibrary.class, "main");
            project.getExtensions().add(SwiftLibrary.class, "library", library);
            project.getComponents().add(library);
    
            // Setup component
            final Property<String> module = library.getModule();
            module.set(GUtil.toCamelCase(project.getName()));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    Note the default linkage of a {cpp} library is shared linkage as shown in the diagram.
    
    .{cpp} Library Plugin default task graph
    image::cpp-shared-library-task-graph.png[]
    
    With static linkage, the diagram changes to the following:
    
    .{cpp} Library Plugin static library only task graph
    image::cpp-static-library-task-graph.png[]
    
    [[sec:cpp_library_task_variants]]
    === Variant-dependent Tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

                    apply plugin: 'cpp-library'
                    dependencies {
                        api project(':lib2')
                        implementation project(':lib3')
                    }
                }
                project(':lib2') {
                    apply plugin: 'cpp-library'
                }
                project(':lib3') {
                    apply plugin: 'cpp-library'
                }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            "does not exist"                       | "library: 'unknown'"                    | "Could not locate library 'unknown' required by 'main' in project ':exe'."
            "project that does not exist"          | "project: ':unknown', library: 'hello'" | "Project with path ':unknown' not found."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/plugins/NativeBasePlugin.java

                    task.getTargetPlatform().set(library.getNativePlatform());
                    task.getToolChain().set(library.getToolChain());
                });
    
                // Wire the task into the library model
                library.getLinkFile().set(createTask.flatMap(task -> task.getBinaryFile()));
                library.getLinkFileProducer().set(createTask);
                library.getCreateTask().set(createTask);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 26.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

        }
    
        def "fails when no linkage is specified"() {
            def library = new SwiftLib()
            buildFile << """
                apply plugin: 'swift-library'
    
                library {
                    linkage = []
                }
            """
            settingsFile << """
                rootProject.name = 'foo'
            """
            library.writeToProject(testDirectory)
    
            when:
            fails('assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

                sources {
                    cpp.lib library: 'hello', linkage: 'static'
                }
            }
        }
    }
    """
    
            when:
            fails "mainExecutable"
    
            then:
            failure.assertHasDescription("Execution failed for task ':linkMainExecutable'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationCppInteroperabilityIntegrationTest.groovy

                project(':cppGreeter') {
                    apply plugin: 'cpp-library'
                    dependencies {
                        implementation project(':logger')
                    }
                    library.linkage = [Linkage.${linkage}]
                }
                project(':logger') {
                    apply plugin: 'cpp-library'
                    library.linkage = [Linkage.${linkage}]
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top