Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for cppCompile (0.26 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

                // this is because we don't want the cpp compile tasks to accidentally use 
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CppCompile) { mustRunAfter tasks.withType(WindowsResourceCompile) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
            then:
            assertTaskIsParallel("compileMainLibSharedLibraryMainLibRc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/img/cpp-sourcesets-compilation.dot

        cppCompileVariant -> includeRoot
        implementation -> includeRoot
        variantImplementation -> includeRoot
    
        cppCompileVariant[style=dashed, label=<cppCompile<i>Variant</i><br/>(configuration)>]
        implementation[style=dashed, label="implementation\n(configuration)"]
        variantImplementation[style=dashed, label=<main<i>Variant</i>Implementation<br/>(configuration)>]
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/img/cpp-application-configurations.dot

      }
    
      subgraph left {
        node[style=filled, fillcolor="#cfe2f3"]
        cppCompileVariant -> nativeLinkVariant -> nativeRuntimeVariant [style=invis, weight=1000]
    
        cppCompileVariant[label=<cppCompile<i>Variant</i> (R)>]
        nativeLinkVariant[label=<nativeLink<i>Variant</i> (R)>]
        nativeRuntimeVariant[label=<nativeRuntime<i>Variant</i> (R)>]
      }
    
      subgraph right {
        node[style=filled, fillcolor="#ea9999"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/native/building_cpp_projects.adoc

    We recommend that you follow these conventions wherever possible, but you don’t have to.
    
    There are several options for customization, as you’ll see next.
    
    NOTE: All link:{groovyDslPath}/org.gradle.language.cpp.tasks.CppCompile.html[CppCompile] tasks are incremental and cacheable.
    
    [[sec:cpp_supported_tool_chain]]
    === Supported tool chain
    
    Gradle offers the ability to execute the same build using different tool chains.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

    model {
        components {
            main(NativeExecutableSpec) {
                binaries.all {
                    if (toolChain in VisualCpp) {
                        cppCompiler.args '/Zi'
                        linker.args '/DEBUG'
                    } else {
                        cppCompiler.args '-g'
                    }
                }
            }
        }
    }
    """
    
            and:
            file("src/main/cpp/helloworld.cpp") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

                int main () {
                  std::cout << MESSAGE;
                  return 0;
                }
            """
    
            buildFile << """
                project(':app') {
                    tasks.withType(CppCompile) {
                        macros.put('MACRO','${macro}')
                    }
                }
            """
    
            then:
            succeeds installApp
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache.adoc

        `org.gradle.language.scala.tasks.PlatformScalaCompile` (removed),
        link:{groovyDslPath}/org.gradle.api.tasks.scala.ScalaDoc.html[ScalaDoc]
    * Native toolchain:
        link:{javadocPath}/org/gradle/language/cpp/tasks/CppCompile.html[CppCompile],
        link:{javadocPath}/org/gradle/language/c/tasks/CCompile.html[CCompile],
        link:{javadocPath}/org/gradle/language/swift/tasks/SwiftCompile.html[SwiftCompile]
    * Testing:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 11:30:10 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/dsl/dsl.xml

            <para>Tasks used to build native binaries.</para>
            <table>
                <title>Native component task types</title>
                <tr>
                    <td>org.gradle.language.cpp.tasks.CppCompile</td>
                </tr>
                <tr>
                    <td>org.gradle.language.swift.tasks.SwiftCompile</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/CppCompiler.java

    import org.gradle.nativeplatform.toolchain.internal.compilespec.CppCompileSpec;
    
    import java.util.Optional;
    
    class CppCompiler extends VisualCppNativeCompiler<CppCompileSpec> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/CppCompiler.java

    import org.gradle.nativeplatform.toolchain.internal.CommandLineToolInvocationWorker;
    import org.gradle.nativeplatform.toolchain.internal.compilespec.CppCompileSpec;
    
    class CppCompiler extends GccCompatibleNativeCompiler<CppCompileSpec>  {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top