Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 247 for linkage (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestWithStaticLibraryLinkageIntegrationTest.groovy

        }
    
        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'xctest'
                apply plugin: 'swift-library'
                library.linkage = [Linkage.STATIC]
            """
        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/CppUnitTestComponentWithSharedLibraryLinkageIntegrationTest.groovy

        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'cpp-library'
                apply plugin: 'cpp-unit-test'
                library.linkage = [Linkage.SHARED]
            """
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppLibWithSimpleUnitTest()
        }
    
        @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/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/ConfigurableComponentWithLinkUsage.java

    import org.gradle.nativeplatform.Linkage;
    
    import javax.annotation.Nullable;
    
    /**
     * A configurable view of a component that has a link usage. This should become public in some form.
     */
    public interface ConfigurableComponentWithLinkUsage extends ComponentWithLinkUsage, ComponentWithNames {
        Configuration getImplementationDependencies();
    
        @Nullable
        Linkage getLinkage();
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerCppBuildExportIntegrationTest.groovy

        def "produces manifest for C++ library with shared and static linkage"() {
            given:
            buildFile << """
                plugins {
                    id 'swiftpm-export'
                    id 'cpp-library'
                }
                library.linkage = [Linkage.SHARED, Linkage.STATIC]
    """
            def lib = new CppLib()
            lib.sources.writeToProject(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftStaticLibraryLinkageProjectIntegrationTest.groovy

        @Override
        void makeSingleProject() {
            buildFile << """
                apply plugin: 'swift-library'
                library.linkage = [Linkage.STATIC]
            """
        }
    
        @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)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftMixedLanguageIntegrationTest.groovy

        }
    
        StaticLibraryFixture staticCppLibrary(Object path) {
            return cppToolChain.staticLibrary(file(path))
        }
    
        String createOrLink(String linkage) {
            if (linkage == "STATIC") {
                return "create"
            }
    
            if (linkage == "SHARED") {
                return "link"
            }
    
            throw new IllegalArgumentException()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top