Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for cppCompile (0.3 sec)

  1. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    Passing additional compiler arguments now follow the same pattern as the `CppCompile` and other tasks.
    
    ==== Copied configuration no longer shares a list of `beforeResolve` actions with original
    
    The list of `beforeResolve` actions are no longer shared between a copied configuration and the original.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/cpp/groovy/build.gradle

                cppCompiler.define "NDEBUG"
    
                // Define toolchain-specific compiler and linker options
                if (toolChain in Gcc) {
                    cppCompiler.args "-O2", "-fno-access-control"
                    linker.args "-Xlinker", "-S"
                }
                if (toolChain in VisualCpp) {
                    cppCompiler.args "/Zi"
                    linker.args "/DEBUG"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-monolithic/common.gradle

                cCompiler.define "SOMETHING7=0"
    
                cppCompiler.define "SOMETHING1=0"
                cppCompiler.define "SOMETHING2=0"
                cppCompiler.define "SOMETHING3=0"
                cppCompiler.define "SOMETHING4=0"
                cppCompiler.define "SOMETHING5=0"
                cppCompiler.define "SOMETHING6=0"
                cppCompiler.define "SOMETHING7=0"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle

                lib library: "googleTest", linkage: "static"
    
                if (flavor == flavors.failing) {
                    cppCompiler.define "PLUS_BROKEN"
                }
    
                if (targetPlatform.operatingSystem.linux) {
                    cppCompiler.args '-pthread'
                    linker.args '-pthread'
    
                    if (toolChain instanceof Gcc || toolChain instanceof Clang) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryBuildTypesIntegrationTest.groovy

                    if (toolChain in Gcc && buildType.debug) {
                        cppCompiler.args "-g"
                    }
                    if (toolChain in VisualCpp) {
                        // Apply to all debug build types: 'debug' and 'integration'
                        if (buildType.debug) {
                            cppCompiler.args ${toolChain.meets(ToolChainRequirement.VISUALCPP_2013_OR_NEWER) ? "'/Zi', '/FS'" : "'/Zi'"}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            bean.CCompiler == 'upper-case first char' && bean.getCCompiler() == bean.CCompiler
            bean.cppCompiler == 'cppCompiler' && bean.getCppCompiler() == bean.cppCompiler
            bean.CPPCompiler == 'CPPCompiler' && bean.getCPPCompiler() == bean.CPPCompiler
            bean.a == 'some a' && bean.getA() == bean.a
            bean.b == 'some b' && bean.getb() == bean.b
        }
    
        static class DeviantBean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/3rd-party-lib/util/build.gradle

                binaries.all {
                    if (buildType == buildTypes.debug) {
                        cppCompiler.define 'DEBUG'
                        if (toolChain in VisualCpp) {
                            cppCompiler.args '/Zi'
                            linker.args '/DEBUG'
                        } else {
                            cppCompiler.args "-g"
                        }
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 553 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/variants/groovy/build.gradle

    model {
        binaries {
            all {
                if (toolChain in Gcc && buildType == buildTypes.debug) {
                    cppCompiler.args "-g"
                }
                if (toolChain in VisualCpp && buildType == buildTypes.debug) {
                    cppCompiler.args '/Zi'
                    cppCompiler.define 'DEBUG'
                    linker.args '/DEBUG'
                }
            }
        }
    }
    // end::build-type-config[]
    
    model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryFlavorsIntegrationTest.groovy

                    if (flavor == flavors.french) {
                        cppCompiler.define "FRENCH"
                    }
                }
            }
            withType(NativeLibrarySpec) {
                targetFlavors "english", "french"
                binaries.all {
                    if (flavor == flavors.french) {
                        cppCompiler.define "FRENCH"
                    }
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents/build.gradle

                if (targetPlatform.operatingSystem.linux) {
                    cppCompiler.args '-pthread'
                    linker.args '-pthread'
                }
            }
            all {
                if (toolChain instanceof Gcc) {
                    cppCompiler.args '-std=c++03', '-D_GLIBCXX_USE_CXX11_ABI=0'
                    linker.args '-std=c++03'
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top