Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for VisualCpp (0.16 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/plugins/MicrosoftVisualCppCompilerPlugin.java

                final WorkerLeaseService workerLeaseService = serviceRegistry.get(WorkerLeaseService.class);
    
                toolChainRegistry.registerFactory(VisualCpp.class, new NamedDomainObjectFactory<VisualCpp>() {
                    @Override
                    public VisualCpp create(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. 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)
  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/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)
  6. 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)
  7. 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)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocatorTest.groovy

            result.component.name == "Visual Studio 12.0.0"
            result.component.version == VersionNumber.parse("12.0")
            result.component.baseDir == dir2
            result.component.visualCpp.name == "Visual C++ 12.0.0"
            result.component.visualCpp.version == VersionNumber.parse("12.0")
        }
    
        def "use highest visual studio version found from the command line"() {
            def dir1 = vsDir("vs1")
            def dir2 = vsDir("vs2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top