Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compileMainExecutableMainObjcpp (0.29 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivecpp/ObjectiveCppUnsupportedIntegrationTest.groovy

    model {
        components {
            main(NativeExecutableSpec)
        }
    }
            """
    
            and:
            helloWorldApp.writeSources(file("src/main"))
    
            when:
            fails "compileMainExecutableMainObjcpp"
    
            then:
            failure.assertThatCause(containsString("Objective-C++ is not available on the Visual C++ toolchain"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/NativeLanguageSamplesIntegrationTest.groovy

        def "objectiveCpp"() {
            given:
            sample objectiveCpp
    
            when:
            succeeds "installMainExecutable"
    
            then:
            executedAndNotSkipped ":compileMainExecutableMainObjcpp", ":linkMainExecutable", ":mainExecutable"
    
            and:
            executable(objectiveCpp.dir.file("build/exe/main/main")).exec().out == "Hello world!\n"
        }
    
        @RequiresInstalledToolChain(VISUALCPP)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top