Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for mainDebug (0.14 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftBasePluginTest.groovy

            compileSwift.objectFileDir.get().asFile == projectDir.file("build/obj/${objDir}")
    
            where:
            name        | taskName                | objDir
            "main"      | "compileSwift"          | "main"
            "mainDebug" | "compileDebugSwift"     | "main/debug"
            "test"      | "compileTestSwift"      | "test"
            "testDebug" | "compileTestDebugSwift" | "test/debug"
        }
    
        def "adds link and install task for executable"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

            lib.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'swift-library'
    
                task assembleLinkDebug {
                    dependsOn library.binaries.getByName('mainDebug').map { it.linkFile }
                }
             """
    
            expect:
            succeeds "assembleLinkDebug"
            result.assertTasksExecuted(":compileDebugSwift", ":linkDebug", ":assembleLinkDebug")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/AbstractNativeProductionComponentDependenciesIntegrationTest.groovy

            given:
            createDirs("lib")
            settingsFile << 'include "lib"'
            makeComponentWithLibrary()
            buildFile << """
                ${componentUnderTestDsl} {
                    binaries.getByName('mainDebug').configure {
                        dependencies {
                            implementation project(':lib')
                        }
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy

            compileCpp.objectFileDir.get().asFile == projectDir.file("build/obj/${objDir}")
    
            where:
            name        | taskName              | objDir
            "main"      | "compileCpp"          | "main"
            "mainDebug" | "compileDebugCpp"     | "main/debug"
            "test"      | "compileTestCpp"      | "test"
            "testDebug" | "compileTestDebugCpp" | "test/debug"
        }
    
        def "adds link and install task for executable"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftStaticLibraryLinkageIntegrationTest.groovy

                library {
                    linkage = [Linkage.STATIC]
                }
    
                task assembleLinkDebug {
                    dependsOn library.binaries.getByName('mainDebug').map { it.linkFile }
                }
             """
    
            expect:
            succeeds "assembleLinkDebug"
            result.assertTasksExecuted(":compileDebugSwift", ":createDebug", ":assembleLinkDebug")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppBinaryTest.groovy

            _ * configurations.create("nativeLinkDebug") >> link
            _ * configurations.create("nativeRuntimeDebug") >> runtime
            _ * componentHeaders.plus(_) >> headerDirs
    
            binary = new DefaultCppBinary(Names.of("mainDebug"), project.objects, Stub(Provider), Stub(FileCollection), componentHeaders, configurations, implementation, Stub(CppPlatform), Stub(NativeToolChainInternal), Stub(PlatformToolProvider), Stub(NativeVariantIdentity))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

            when:
            project.pluginManager.apply(CppLibraryPlugin)
            project.evaluate()
    
            then:
            project.components.main == project.library
            project.library.binaries.get().name == ['mainDebug', 'mainRelease']
            project.components.containsAll(project.library.binaries.get())
    
            and:
            def binaries = project.library.binaries.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppApplicationTest.groovy

        }
    
        def "can add an executable"() {
            expect:
            def exe = application.addExecutable(identity, Stub(CppPlatform), Stub(NativeToolChainInternal), Stub(PlatformToolProvider))
            exe.name == 'mainDebug'
        }
    
        private NativeVariantIdentity getIdentity() {
            return Stub(NativeVariantIdentity) {
                getName() >> "debug"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppApplicationPluginTest.groovy

            project.pluginManager.apply(CppApplicationPlugin)
            project.evaluate()
    
            then:
            project.components.main == project.application
            project.application.binaries.get().name == ['mainDebug', 'mainRelease']
            project.components.containsAll project.application.binaries.get()
    
            and:
            def binaries = project.application.binaries.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            debugBinary.compilationDetails.macroDefines.value == ['mainDebug']
            debugBinary.compilationDetails.macroUndefines.empty
            debugBinary.compilationDetails.additionalArgs == ['--compile=mainDebug']
            debugBinary.linkageDetails.outputLocation == toolchain.executable(file("build/exe/main/debug/some-app")).file
            debugBinary.linkageDetails.additionalArgs == ['--link=mainDebug']
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top