Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createOrLink (0.21 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryCppInteroperabilityIntegrationTest.groovy

            cppGreeter.asLib().writeToProject(file("cppGreeter"))
    
            expect:
            succeeds ":hello:assemble"
            result.assertTasksExecuted(
                ":cppGreeter:compileDebugCpp", ":cppGreeter:${createOrLink(linkage)}Debug",
                ":hello:compileDebugSwift", ":hello:linkDebug", ":hello:assemble")
    
            swiftLibrary("hello/build/lib/main/debug/Hello").assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationCppInteroperabilityIntegrationTest.groovy

            expect:
            succeeds ":app:assemble"
            result.assertTasksExecuted(
                ":cppGreeter:compileDebugCpp", ":cppGreeter:${createOrLink(linkage)}Debug",
                ":logger:compileDebugCpp", ":logger:${createOrLink(linkage)}Debug",
                ":app:compileDebugSwift", ":app:linkDebug", ":app:installDebug", ":app:assemble")
    
    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/platform-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftMixedLanguageIntegrationTest.groovy

            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)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestCppInteroperabilityIntegrationTest.groovy

            cppGreeter.asLib().writeToProject(file("cppGreeter"))
    
            when:
            succeeds("test")
    
            then:
            result.assertTasksExecuted(":cppGreeter:compileDebugCpp", ":cppGreeter:${createOrLink(linkage)}Debug",
                    tasks.debug.compile, tasks.test.allToInstall, ":xcTest", ":test")
            lib.assertTestCasesRan(testExecutionResult)
    
            where:
            linkage << [SHARED, STATIC]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top