Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for compileDebugCpp (0.37 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

            then:
            def compileDebugCpp = project.tasks.compileDebugCpp
            compileDebugCpp instanceof CppCompile
            compileDebugCpp.includes.files.take(2) as List == [publicHeaders, privateHeaders]
            compileDebugCpp.source.files as List == [src]
            compileDebugCpp.objectFileDir.get().asFile == projectDir.file("build/obj/main/debug")
            compileDebugCpp.debuggable
            !compileDebugCpp.optimized
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            return [":compileDebug${variant.capitalize()}Cpp", ":linkDebug${variant.capitalize()}"]
        }
    
        @Override
        protected String getDevelopmentBinaryCompileTask() {
            return ":compileDebugCpp"
        }
    
        @Override
        protected void makeSingleProject() {
            buildFile << """
                apply plugin: 'cpp-library'
            """
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  3. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            debugBinary.compilationDetails.compileWorkingDir == projectDir.file("build/obj/main/debug")
            debugBinary.compilationDetails.compileTask.path == ":compileDebugCpp"
            debugBinary.compilationDetails.compileTask.name == "compileDebugCpp"
            debugBinary.linkageDetails.outputLocation == toolchain.executable(file("build/exe/main/debug/app")).file
            debugBinary.linkageDetails.additionalArgs.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy

                .withProject(rootXcodeProject)
                .withScheme('App')
                .succeeds()
    
            then:
            resultDebug.assertTasksExecuted(':compileDebugCpp', ':linkDebug', ':installDebug', ':_xcode___App_Debug')
            resultDebug.assertTasksNotSkipped(':compileDebugCpp', ':linkDebug', ':installDebug', ':_xcode___App_Debug')
            debugBinary.exec().out == app.expectedOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

    apply plugin: 'cpp-library'
    repositories { maven { url '${repoDir.toURI()}' } }
    dependencies { implementation 'some.group:testlib:1.2' }
    """
    
            when:
            executer.inDirectory(consumer)
            fails("compileDebugCpp")
    
            then:
            failure.assertThatCause(CoreMatchers.containsString("C++ compiler failed while compiling main.cpp."))
    
            when:
            buildFile << """
    library.privateHeaders.from = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/cpp_application_plugin.adoc

    The following diagram shows the relationship between variant-dependent tasks.
    
    .{cpp} Application Plugin variant-dependent task graph
    image::cpp-application-variant-task-graph.png[]
    
    `compile__Variant__Cpp` (e.g. `compileDebugCpp` and `compileReleaseCpp`)  - link:{groovyDslPath}/org.gradle.language.cpp.tasks.CppCompile.html[CppCompile]::
    Depends on: All tasks that contribute source files to the compilation
    ::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleCppProjectIntegrationTest.groovy

                .withScheme('App')
                .succeeds()
    
            then:
            resultDebugApp.assertTasksExecuted(':greeter:compileDebugCpp', ':greeter:linkDebug',
                ':compileDebugCpp', ':linkDebug', ':installDebug', ':_xcode___App_Debug')
    
            when:
            def resultReleaseGreeter = xcodebuild
                .withWorkspace(rootXcodeWorkspace)
                .withScheme('Greeter')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    .{cpp} Library Plugin variant-dependent task graph
    image::cpp-library-variant-task-graph.png[]
    NOTE: Depending on the linkage property
    
    `compile__Variant__Cpp` (e.g. `compileDebugCpp` and `compileReleaseCpp`)  - link:{groovyDslPath}/org.gradle.language.cpp.tasks.CppCompile.html[CppCompile]::
    Depends on: All tasks that contribute source files to the compilation
    ::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

        }
    
        @Override
        protected String getDevelopmentBinaryCompileTask() {
            return ":compileDebugCpp"
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppApp()
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/native/building_cpp_projects.adoc

    include::sample[dir="snippets/cpp/basic/groovy",files="build.gradle[tags=apply-cpp-plugin]"]
    ====
    
    By applying either of the {cpp} plugins, you get a whole host of features:
    
     * `compileDebugCpp` and `compileReleaseCpp` tasks that compiles the {cpp} source files under _src/main/cpp_ for the well-known debug and release build types, respectively.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17.3K bytes
    - Viewed (0)
Back to top