Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for VisualCpp (0.12 sec)

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

    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.VISUALCPP
    
    @RequiresInstalledToolChain(VISUALCPP)
    class WindowsResourcesIncrementalBuildIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        HelloWorldApp helloWorldApp = new WindowsResourceHelloWorldApp()
        ExecutableFixture mainExe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocator.java

                VisualCppInstall visualCpp = buildVisualCppInstall("Visual C++ " + install.getVisualCppVersion(), visualStudioDir, visualCppDir, install.getVisualCppVersion(), install.getCompatibility());
                VisualStudioInstall visualStudio = new VisualStudioInstall("Visual Studio " + visualStudioDisplayVersion, visualStudioDir, visualStudioVersion, visualCpp);
                foundInstalls.put(visualStudioDir, visualStudio);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildVersionLocator.java

            VersionNumber vsVersion;
            if (toolChain instanceof AvailableToolChains.InstalledVisualCpp) {
                AvailableToolChains.InstalledVisualCpp visualCpp = (AvailableToolChains.InstalledVisualCpp) toolChain;
                vsVersion = visualCpp.getVersion();
            } else {
                vsVersion = VersionNumber.version(15);
            }
    
            File vswhere = vswhereLocator.getVswhereInstall();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/DuplicateBaseNamesIntegrationTest.groovy

    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.GCC_COMPATIBLE
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.SUPPORTS_32
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.VISUALCPP
    
    class DuplicateBaseNamesIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
    
        @RequiresInstalledToolChain(SUPPORTS_32)
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/CommonToolChainIntegrationTest.groovy

                binaries.all {
                    lib library: 'hello', linkage: 'api'
    
                    def librarySearchPath = 'build/libs/hello/static'
                    def libraryName = 'hello'
                    if (toolChain in VisualCpp) {
                        linker.args "/LIBPATH:\${librarySearchPath}", "\${libraryName}.lib"
                    } else {
                        linker.args "-L\${librarySearchPath}", "-l\${libraryName}"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

            hello(NativeLibrarySpec)
        }
    
        // 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
    - 1.9K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivec/ObjectiveCUnsupportedIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.ObjectiveCHelloWorldApp
    
    import static org.hamcrest.CoreMatchers.containsString
    
    @RequiresInstalledToolChain(ToolChainRequirement.VISUALCPP)
    class ObjectiveCUnsupportedIntegrationTest extends AbstractInstalledToolChainIntegrationSpec{
    
        def helloWorldApp = new ObjectiveCHelloWorldApp()
    
        def "setup"() {
            buildFile << helloWorldApp.pluginScript
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-pch-component/build.gradle

                        if (project.hasProperty("usePCH")) {
                            preCompiledHeader "pch.h"
                        }
                    }
                    binaries.all {
                        if (toolChain.name == "visualCpp") {
                            cCompiler.args("/showIncludes")
                        } else {
                            cCompiler.args("-H")
                        }
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

            releaseX86Binary.linkageDetails.outputLocation == toolchain.executable(file("build/exe/main/release/x86/app")).strippedRuntimeFile
            releaseX86Binary.linkageDetails.additionalArgs.empty
            if (toolchain.visualCpp) {
                releaseX86Binary.linkageDetails.linkTask.path == ":linkReleaseX86"
                releaseX86Binary.linkageDetails.linkTask.name == "linkReleaseX86"
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

    import org.gradle.test.preconditions.UnitTestPreconditions
    import org.hamcrest.CoreMatchers
    import spock.lang.Issue
    
    import static org.gradle.nativeplatform.fixtures.ToolChainRequirement.VISUALCPP
    
    class BinaryConfigurationIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
    
        @ToBeFixedForConfigurationCache
        def "can configure the binaries of a C++ application"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top