Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 482 for linkage (0.14 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/swift/SwiftLibrary.java

        /**
         * Returns the API dependencies of this library.
         */
        Configuration getApiDependencies();
    
        /**
         * Returns the list of linkage of this library.
         *
         * @since 4.5
         */
        SetProperty<Linkage> getLinkage();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/build.gradle

                    }
                }
            }
        }
    
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'boost', linkage: 'api'
                    cpp.lib library: 'util', linkage: 'static'
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftSharedLibraryLinkageIntegrationTest.groovy

            return "library"
        }
    
        def "can create shared library binary when explicitly request a shared linkage"() {
            def library = new SwiftLib()
            buildFile << """
                apply plugin: 'swift-library'
    
                library {
                    linkage = [Linkage.SHARED]
                }
            """
            settingsFile << """
                rootProject.name = 'foo'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetLinkDependenciesIntegrationTest.groovy

                sources {
                    other(CppSourceSet) {
                        source.srcDir "src/other/cpp"
                    }
                }
                binaries.all {
                    lib library: 'lib1', linkage: 'static'
                }
            }
        }
    }
    """
            when:
            succeeds "installMainExecutable"
    
            then:
            installation("build/install/main").exec().out == "12\n"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftStaticLibraryLinkageWithXCTestProjectIntegrationTest.groovy

        @Override
        void makeSingleProject() {
            buildFile << """
                apply plugin: 'swift-library'
                apply plugin: 'xctest'
                library.linkage = [Linkage.STATIC]
            """
        }
    
        @Override
        String getTestedComponentDsl() {
            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.5K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/plugins/VisualStudioPlugin.java

                project.getComponents().withType(CppLibrary.class).all(cppLibrary -> {
                    for (Linkage linkage : cppLibrary.getLinkage().get()) {
                        VisualStudioTargetBinary.ProjectType projectType = VisualStudioTargetBinary.ProjectType.DLL;
                        if (Linkage.STATIC.equals(linkage)) {
                            projectType = VisualStudioTargetBinary.ProjectType.LIB;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

                    apply plugin: 'swift-library'
                    library.linkage = [Linkage.STATIC]
                    dependencies {
                        api project(':log')
                    }
                }
                project(':log') {
                    apply plugin: 'swift-library'
                    library.linkage = [Linkage.STATIC]
                }
    """
            app.library.writeToProject(file("hello"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (1)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppStaticLibraryLinkageProjectIntegrationTest.groovy

        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'cpp-library'
                library.linkage = [Linkage.STATIC]
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return 'library'
        }
    
        @Override
        protected CppSourceElement 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)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                model {
                    components {
                        main(NativeExecutableSpec) {
                            sources {
                                cpp.lib project: ':lib', library: 'hello', linkage: 'static'
                            }
                        }
                    }
                }
            """
            file("lib", "build.gradle") << """
                model {
                    components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/cpp/CppLibrary.java

        /**
         * Returns the API dependencies of this library.
         */
        Configuration getApiDependencies();
    
        /**
         * Returns the list of linkage of this library.
         *
         * @since 4.5
         */
        SetProperty<Linkage> getLinkage();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top