Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for VisualCpp (0.13 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/c/groovy/build.gradle

                if (toolChain in Gcc) {
                    cCompiler.args "-O2"
                    linker.args "-Xlinker", "-S"
                }
                if (toolChain in VisualCpp) {
                    cCompiler.args "/Zi"
                    linker.args "/DEBUG"
                }
            }
        }
    }
    // end::compiler-args[]
    
    // tag::all-shared-libraries[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AbstractInstalledToolChainIntegrationSpec.groovy

        }
    
        String withLinkLibrarySuffix(Object path) {
            return path + (toolChain.visualCpp ? OperatingSystem.current().linkLibrarySuffix : OperatingSystem.current().sharedLibrarySuffix)
        }
    
        String linkLibraryName(Object path) {
            return toolChain.visualCpp ? OperatingSystem.current().getLinkLibraryName(path.toString()) : OperatingSystem.current().getSharedLibraryName(path.toString())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppToolChain.java

            if (!result.isAvailable()) {
                return new UnavailablePlatformToolProvider(targetPlatform.getOperatingSystem(), result);
            }
    
            VisualCpp platformVisualCpp = visualCpp == null ? null : visualCpp.forPlatform(targetPlatform);
            if (platformVisualCpp == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/SharedLibraryFixture.groovy

            super(file, toolChain)
        }
    
        TestFile getLinkFile() {
            if (toolChain.visualCpp) {
                return file.withExtension(".lib")
            }
            return file
        }
    
        TestFile getStrippedLinkFile() {
            if (toolChain.visualCpp) {
                return file.withExtension(".lib")
            }
            return strippedRuntimeFile
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeBinaryFixture.groovy

        void assertDebugFileExists() {
            if (toolChain.visualCpp) {
                getSymbolFile().assertIsFile()
            }
        }
    
        // Does nothing when tool chain does not generate a separate debug file
        void assertDebugFileDoesNotExist() {
            if (toolChain.visualCpp) {
                getSymbolFile().assertDoesNotExist()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

            }
            DefaultNativePlatform targetPlatform = new DefaultNativePlatform("default");
            def visualCpp = vsInstall.visualCpp.forPlatform(targetPlatform)
            vcBin = visualCpp.binDir
            vcPath = visualCpp.path.join(';')
        }
    
        static @Nullable VisualStudioInstall findVisualStudio() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/LanguageTaskNames.groovy

                List<String> getExtract() {
                    if (toolChainUnderTest.visualCpp) {
                        return []
                    } else {
                        return [withProject("extractSymbolsRelease${variant}")]
                    }
                }
    
                List<String> getStrip() {
                    if (toolChainUnderTest.visualCpp) {
                        return []
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/variants/groovy/build.gradle

    // tag::build-type-config[]
    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'
                }
            }
        }
    }
    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/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)
  10. 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)
Back to top