Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 482 for linkage (0.15 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/DefaultCppLibrary.java

            publicHeaders = objectFactory.fileCollection();
            publicHeadersWithConvention = createDirView(publicHeaders, "src/" + name + "/public");
    
            linkage = objectFactory.setProperty(Linkage.class);
            linkage.set(Collections.singleton(Linkage.SHARED));
    
            dependencies = objectFactory.newInstance(DefaultLibraryDependencies.class, getNames().withSuffix("implementation"), getNames().withSuffix("api"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 04:34:06 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetCompileDependenciesIntegrationTest.groovy

    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp {
                        lib library: 'lib1', linkage: 'api'
                    }
                    otherCpp(CppSourceSet) {
                        lib library: 'lib2', linkage: 'api'
                    }
                }
            }
        }
    }
    """
    
            when:
            succeeds "mainExecutable"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

                    cpp.lib library: 'hello', linkage: 'api'
                }
            }
        }
    }
    """
    
            when:
            succeeds "installMainExecutable"
    
            then:
            installation("build/install/main").exec().out == app.alternateLibraryOutput
        }
    
        @ToBeFixedForConfigurationCache
        def "can link to a prebuilt library with static and shared linkage"() {
            given:
            preBuildLibrary()
    
    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/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/resolve/NativeDependencyNotationParserTest.groovy

            when:
            def input = [project: 'other', library: 'libName', linkage: 'static']
            def dependency = parser.parseNotation(input)
    
            then:
            dependency.projectPath == "other"
            dependency.libraryName == "libName"
            dependency.linkage == "static"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestCppInteroperabilityIntegrationTest.groovy

                    library.linkage = [Linkage.${linkage}]
                }
            """
            lib.writeToProject(testDirectory)
            cppGreeter.asLib().writeToProject(file("cppGreeter"))
    
            when:
            succeeds("test")
    
            then:
            result.assertTasksExecuted(":cppGreeter:compileDebugCpp", ":cppGreeter:${createOrLink(linkage)}Debug",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBothLibraryLinkageIntegrationTest.groovy

        }
    
        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'cpp-library'
                library.linkage = [Linkage.SHARED, Linkage.STATIC]
            """
        }
    
        @Override
        protected String getDevelopmentBinaryCompileTask() {
            return ":compileDebugSharedCpp"
        }
    
        @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)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppSharedLibraryLinkageIntegrationTest.groovy

            return new CppLib()
        }
    
        @ToBeFixedForConfigurationCache
        def "can create shared library binary when only shared linkage is specified"() {
            def library = new CppLib()
            buildFile << """
                apply plugin: 'cpp-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.2K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryApiDependenciesIntegrationTest.groovy

            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'hello', linkage: 'api'
                    cpp.lib library: 'hello2'
                }
            }
            hello(NativeLibrarySpec)
            hello2(NativeLibrarySpec) {
                sources {
                    cpp.lib library: 'hello', linkage: 'api'
                }
            }
        }
    }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/core-plugins/visual_studio_plugin.adoc

    _Depends on_: `__projectName__DllVisualStudioProject` (for shared linkage), `__projectName__DllVisualStudioFilters` (for shared linkage), `__projectName__LibVisualStudioProject` (for static linkage) and `__projectName__LibVisualStudioFilters` (for static linkage)
    +
    Generates all Visual Studio project files for the library component.
    
    [[sec:visual_studio_configuration]]
    == Configuration
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: "hello", linkage: "shared"
                    cpp.lib library: "greetings", linkage: "shared"
                }
            }
            hello(NativeLibrarySpec) {
                sources {
                    cpp.lib library: "greetings", linkage: "static"
                }
            }
            greetings(NativeLibrarySpec)
        }
    }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top