Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for SharedLibrary (0.15 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppPlatformToolProviderTest.groovy

            given:
            operatingSystem.internalOs >> OperatingSystem.WINDOWS
    
            expect:
            def actual = toolProvider.getSharedLibraryLinkFileName("sharedLibrary")
            actual == "sharedLibrary.lib"
        }
    
        def "system libraries contain union of VC++ and Windows SDK and UCRT"() {
            given:
            def dir1 = new File("1")
            def dir2 = new File("2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftMixedLanguageIntegrationTest.groovy

            return swiftToolChain.executable(file(path))
        }
    
        SharedLibraryFixture swiftLibrary(Object path) {
            return swiftToolChain.sharedLibrary(file(path))
        }
    
        SharedLibraryFixture cppLibrary(Object path) {
            return cppToolChain.sharedLibrary(file(path))
        }
    
        StaticLibraryFixture staticCppLibrary(Object path) {
            return cppToolChain.staticLibrary(file(path))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

            when:
            run "mainSharedLibrary"
    
            then:
            executedAndNotSkipped ":compileMainSharedLibraryMainCpp", ":linkMainSharedLibrary", ":mainSharedLibrary"
    
            and:
            sharedLibrary(cppLib.dir.file("build/libs/main/shared/main")).assertExists()
    
            when:
            sample cppLib
            run "mainStaticLibrary"
    
            then:
    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/configure/NativeComponentRulesTest.groovy

            then:
            _ * component.targetPlatforms >> [platformRequirement]
            1 * platforms.resolve(NativePlatform, requirement("platform1")) >> platform
            createdBinaries == ([
                "sharedLibrary",
                "staticLibrary",
            ] as SortedSet)
        }
    
        def "does not use variant dimension names when component targets a single point on dimension"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIntegrationTest.groovy

            helloWorldApp.executable.writeSources(file("src/main"))
            helloWorldApp.library.writeSources(file("src/hello"))
    
            when:
            run "installMainExecutable"
    
            then:
            sharedLibrary("build/libs/hello/shared/hello").assertExists()
            executable("build/exe/main/main").assertExists()
    
            def install = installation("build/install/main")
            install.assertInstalled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

            debugX86Binary.compilationDetails.compileTask.path == ":compileDebugX86Cpp"
            debugX86Binary.compilationDetails.compileTask.name == "compileDebugX86Cpp"
            debugX86Binary.linkageDetails.outputLocation == toolchain.sharedLibrary(file("build/lib/main/debug/x86/lib")).linkFile
            debugX86Binary.linkageDetails.additionalArgs.empty
            debugX86Binary.linkageDetails.linkTask.path == ":linkDebugX86"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            sharedLibrary("build/libs/greetings/shared/greetings").assertExists()
            staticLibrary("build/libs/greetings/static/greetings").assertExists()
    
            and:
            try {
                println executable("build/exe/main/main").binaryInfo.listLinkedLibraries()
                println sharedLibrary("build/libs/hello/shared/hello").binaryInfo.listLinkedLibraries()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AbstractInstalledToolChainIntegrationSpec.groovy

        }
    
        String getSharedLibraryExtension() {
            return OperatingSystem.current().sharedLibrarySuffix.substring(1)
        }
    
        SharedLibraryFixture sharedLibrary(Object path) {
            return toolChain.sharedLibrary(file(path))
        }
    
        StaticLibraryFixture staticLibrary(Object path) {
            return toolChain.staticLibrary(file(path))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppSharedLibraryLinkageIntegrationTest.groovy

            """
            library.writeToProject(testDirectory)
    
            when:
            succeeds('assemble')
    
            then:
            result.assertTasksExecuted(':compileDebugCpp', ':linkDebug', ':assemble')
            sharedLibrary('build/lib/main/debug/foo').assertExists()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            then:
            failure.assertHasDescription("Execution failed for task ':linkMainSharedLibrary'.");
            failure.assertHasCause("A build operation failed.")
            def libName = sharedLibrary("build/binaries/mainSharedLibrary/main").file.name
            failure.assertThatCause(containsText("Linker failed while linking ${libName}"))
        }
    
        @ToBeFixedForConfigurationCache
    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