Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 482 for linkage (0.32 sec)

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

    Linkages - default to _shared_::
    The linkage expresses whether a shared library or static library should be created. Libraries can produce a shared library, a static library or both.
    
    The linkage can be configured as follows:
    
    .Configure library linkages
    ====
    include::sample[dir="snippets/cpp/cppLibrary/kotlin",files="build.gradle.kts[tags=configure-linkages]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents/build.gradle

            out.println """
                    lib project: '${dep.project}', library: '${dep.library}', linkage: '${dep.linkage}'"""
        }
        out.println """    
                }
            }"""
    }
    %>
        }
    
        binaries {
            withType(GoogleTestTestSuiteBinarySpec) {
                lib project: ":googleTest", library: "googleTest", linkage: "static"
                if (targetPlatform.operatingSystem.linux) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/DefaultLibraryResolver.java

                if ("static".equals(linkage)) {
                    return StaticLibraryBinary.class;
                }
                if ("shared".equals(linkage) || linkage == null) {
                    return SharedLibraryBinary.class;
                }
                throw new InvalidUserDataException("Not a valid linkage: " + linkage);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

            when:
            app.library.writeSources(file("src/main"))
            settingsFile << """
                rootProject.name = 'lib'
            """
            buildFile << """
                apply plugin: 'cpp-library'
    
                library {
                    linkage = [Linkage.STATIC, Linkage.SHARED]
                    binaries.configureEach { binary ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppBothLibraryLinkageProjectIntegrationTest.groovy

        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'cpp-library'
                library.linkage = [Linkage.STATIC, Linkage.SHARED]
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return 'library'
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftBothLibraryLinkageProjectIntegrationTest.groovy

        @Override
        void makeSingleProject() {
            buildFile << """
                apply plugin: 'swift-library'
                library.linkage = [Linkage.STATIC, Linkage.SHARED]
            """
        }
    
        @Override
        String getComponentUnderTestDsl() {
            return 'library'
        }
    
        @Override
        protected SwiftSourceElement getComponentUnderTest() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryPublishingIntegrationTest.groovy

        @Override
        Map<String, String> getVariantFileInformation(String linkage, String module, String variantModuleNameWithVersion) {
            return [name: staticLibraryName(module), url: withStaticLibrarySuffix(variantModuleNameWithVersion), extension: staticLibraryExtension]
        }
    
        @Override
        boolean publishesArtifactForLinkage(String linkage) {
            return linkage == 'Link'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftBothLibraryLinkageIntegrationTest.groovy

            return new SwiftLib()
        }
    
        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'swift-library'
                library.linkage = [Linkage.SHARED, Linkage.STATIC]
            """
        }
    
        @Override
        String getDevelopmentBinaryCompileTask() {
            return ":compileDebugSharedSwift"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/native/swift_library_plugin.adoc

    Linkages - default to _shared_::
    The linkage expresses whether a shared library or static library should be created. Libraries can produce a shared library, a static library or both.
    
    The linkage can be configured as follows:
    
    .Configure library linkages
    ====
    include::sample[dir="snippets/swift/swiftLibrary/kotlin",files="build.gradle.kts[tags=configure-linkages]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultNativeLibrarySpecTest.groovy

            requirement.linkage == 'shared'
        }
    
        def "can use static variant as requirement"() {
            when:
            def requirement = library.static
    
            then:
            requirement.projectPath == 'project-path'
            requirement.libraryName == 'someLib'
            requirement.linkage == 'static'
        }
    
        def "can use api linkage as requirement"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top