Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for VisualCpp (0.14 sec)

  1. platforms/documentation/docs/src/snippets/cpp/basic/groovy/build.gradle

        // Define toolchain-specific compiler options
        compilerArgs.addAll toolChain.map { toolChain ->
            if (toolChain in [ Gcc, Clang ]) {
                return ['-O2', '-fno-access-control']
            } else if (toolChain in VisualCpp) {
                return ['/Zi']
            }
            return []
        }
    }
    // end::cpp-compiler-options-all-variants[]
    
    // tag::cpp-compiler-options-per-variants[]
    application {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts

        // Define toolchain-specific compiler options
        compilerArgs.addAll(toolChain.map { toolChain ->
            when (toolChain) {
                is Gcc, is Clang -> listOf("-O2", "-fno-access-control")
                is VisualCpp -> listOf("/Zi")
                else -> listOf()
            }
        })
    }
    // end::cpp-compiler-options-all-variants[]
    
    // tag::cpp-compiler-options-per-variants[]
    application {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppMissingToolchainIntegrationTest.groovy

                            path(file('gcc-bin'))
                        }
                        withType(Clang) {
                            path(file('clang-bin'))
                        }
                        withType(VisualCpp) {
                            installDir = file('vs-install')
                            windowsSdkDir = file('sdk-install')
                        }
                    }
                }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.HelloWorldApp
    import org.gradle.nativeplatform.fixtures.app.WindowsResourceHelloWorldApp
    
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.VISUALCPP
    
    @RequiresInstalledToolChain(VISUALCPP)
    class WindowsResourceParallelIntegrationTest extends AbstractNativeSoftwareModelParallelIntegrationTest {
        HelloWorldApp app = new WindowsResourceHelloWorldApp()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/windows-resources/groovy/build.gradle

                linker.args "user32.lib"
            }
    
            // For any shared library binaries built with Visual C++, define the DLL_EXPORT macro
            withType(SharedLibraryBinarySpec) {
                if (toolChain in VisualCpp) {
                    cppCompiler.define "DLL_EXPORT"
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 711 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/build.gradle

            }
        }
    }
    
    // tag::assembler-args[]
    model {
        components {
            main(NativeExecutableSpec) {
                targetPlatform "x86"
                binaries.all {
                    if (toolChain in VisualCpp) {
                        sources {
                            platformAsm(AssemblerSourceSet) {
                                source.srcDir "src/main/asm_i386_masm"
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1004 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/pre-compiled-headers/groovy/build.gradle

    }
    
    // end::executables[]
    
    // For any shared library binaries built with Visual C++, define the DLL_EXPORT macro
    model {
        binaries {
            withType(SharedLibraryBinarySpec) {
                if (toolChain in VisualCpp) {
                    cppCompiler.define "DLL_EXPORT"
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 881 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/3rd-party-lib/util/build.gradle

        }
        components {
            util(NativeLibrarySpec) {
                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)
  9. platforms/documentation/docs/src/snippets/native-binaries/multi-project/groovy/lib/build.gradle

        }
    
        // For any shared library binaries built with Visual C++,
        // define the DLL_EXPORT macro
        binaries {
            withType(SharedLibraryBinarySpec) {
                if (toolChain in VisualCpp) {
                    cppCompiler.define "DLL_EXPORT"
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 368 bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIntegrationTest.groovy

    import org.gradle.testfixtures.internal.NativeServicesTestFixture
    import org.gradle.util.internal.TextUtil
    
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.VISUALCPP
    import static org.gradle.util.Matchers.containsText
    
    @RequiresInstalledToolChain(VISUALCPP)
    class WindowsResourcesIntegrationTest extends AbstractNativeLanguageIntegrationTest {
        static final List<WindowsSdkInstall> NON_DEFAULT_SDKS = getNonDefaultSdks()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top