Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mainSharedLibrary (0.19 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

                void hello() {
                }
    """
    
            when:
            fails "mainSharedLibrary"
    
            then:
            failure.assertHasDescription("Execution failed for task ':linkMainSharedLibrary'.");
            failure.assertHasCause("A build operation failed.")
            def libName = sharedLibrary("build/binaries/mainSharedLibrary/main").file.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "lib"() {
            given:
            sample cppLib
    
            when:
            run "mainSharedLibrary"
    
            then:
            executedAndNotSkipped ":compileMainSharedLibraryMainCpp", ":linkMainSharedLibrary", ":mainSharedLibrary"
    
            and:
            sharedLibrary(cppLib.dir.file("build/libs/main/shared/main")).assertExists()
    
            when:
            sample cppLib
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy

            file("src/main/cpp/includeIoStream.cpp") << """
                #include <stdio.h>
                #include <iostream>
            """
    
            when:
            executer.withArgument("--info")
            run 'mainSharedLibrary'
    
            then:
            output.contains("Found all include files for ':compileMainSharedLibraryMainCpp'")
        }
    
        @ToBeFixedForConfigurationCache
        def "sources are compiled with C++ compiler"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top