Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for staticLibrary (0.24 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            sharedLibrary("lib1/build/lib/main/debug/lib1").assertExists()
            staticLibrary("lib2/build/lib/main/debug/lib2").assertExists()
            staticLibrary("lib3/build/lib/main/debug/lib3").assertExists()
    
            succeeds tasks(':lib1').release.assemble
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            then:
            failure.assertHasDescription("Execution failed for task ':createMainStaticLibrary'.");
            failure.assertHasCause("A build operation failed.")
            def libName = staticLibrary("build/binaries/mainSharedLibrary/main").file.name
            failure.assertThatCause(containsText("Static library archiver failed while archiving ${libName}"))
        }
    
        @Requires(UnitTestPreconditions.CanInstallExecutable)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBothLibraryLinkageIntegrationTest.groovy

            when:
            succeeds('assembleDebugStatic')
    
            then:
            result.assertTasksExecuted(':compileDebugStaticCpp', ':createDebugStatic', ':assembleDebugStatic')
            staticLibrary('build/lib/main/debug/static/foo').assertExists()
    
            when:
            succeeds('assembleDebugShared')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy

            and:
            !oldObjFile.file
            newObjFile.file
    
            and:
            try {
                assert staticLibrary("build/libs/hello/static/hello").listObjectFiles().contains(newObjFile.name)
                assert !staticLibrary("build/libs/hello/static/hello").listObjectFiles().contains(oldObjFile.name)
            } catch (UnsupportedOperationException ignored) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftBothLibraryLinkageIntegrationTest.groovy

            when:
            succeeds('assembleDebugStatic')
    
            then:
            result.assertTasksExecuted(':compileDebugStaticSwift', ':createDebugStatic', ':assembleDebugStatic')
            staticLibrary('build/lib/main/debug/static/Foo').assertExists()
    
            when:
            succeeds('assembleDebugShared')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy

            debugStatic.assertArtifactsPublished(withStaticLibrarySuffix("test_debug_static-1.2"), "test_debug_static-1.2.pom", "test_debug_static-1.2.module")
            debugStatic.artifactFile(type: staticLibraryExtension).assertIsCopyOf(staticLibrary("build/lib/main/debug/static/test").file)
    
            debugStatic.parsedPom.scopes.isEmpty()
    
            def debugStaticMetadata = debugStatic.parsedModuleMetadata
            debugStaticMetadata.variants.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

                int main () {
                  hello("Hello!");
                  return 0;
                }
            """
    
            when:
            run "installMainExecutable"
    
            then:
            staticLibrary("build/libs/hello/static/hello").assertExists()
            installation("build/install/main").exec().out == "Hello!"
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftMixedLanguageIntegrationTest.groovy

        }
    
        SharedLibraryFixture cppLibrary(Object path) {
            return cppToolChain.sharedLibrary(file(path))
        }
    
        StaticLibraryFixture staticCppLibrary(Object path) {
            return cppToolChain.staticLibrary(file(path))
        }
    
        String createOrLink(String linkage) {
            if (linkage == "STATIC") {
                return "create"
            }
    
            if (linkage == "SHARED") {
                return "link"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

                createNativeBinary(StaticLibraryBinarySpec.class, binaries, resolver, fileCollectionFactory, namingScheme.withBinaryType("StaticLibrary").withRole("static", false), platform, buildType, flavor);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. 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:
            staticLibrary("build/libs/hello/static/hello").assertExists()
            executable("build/exe/main/main").assertExists()
    
            and:
            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)
Back to top