Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for windowsSdkDir (0.17 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppToolChainTest.groovy

            then:
            platformToolChain.available
        }
    
        def "uses provided installDir and windowsSdkDir for location"() {
            when:
            toolChain.installDir = "install-dir"
            toolChain.windowsSdkDir = "windows-sdk-dir"
    
            and:
            fileResolver.resolve("install-dir") >> file("vs")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppToolChain.java

            this.installDir = resolve(installDirPath);
        }
    
        @Override
        public File getWindowsSdkDir() {
            return windowsSdkDir;
        }
    
        @Override
        public void setWindowsSdkDir(Object windowsSdkDirPath) {
            this.windowsSdkDir = resolve(windowsSdkDirPath);
        }
    
        public File getUcrtDir() {
            return ucrtDir;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/dsl/org.gradle.nativeplatform.toolchain.VisualCpp.xml

            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr><td>installDir</td></tr>
                <tr><td>windowsSdkDir</td></tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/VisualCppToolChainDiscoveryIntegrationTest.groovy

        }
    
        def "tool chain is not available when SDK install is not available"() {
            when:
            buildFile << """
    model {
        toolChains {
            ${toolChain.id} {
                windowsSdkDir "does-not-exist"
            }
        }
    }
    """
            fails "mainExecutable"
    
            then:
            failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainC'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIntegrationTest.groovy

                model {
                    components {
                        main(NativeExecutableSpec)
                    }
    
                    toolChains {
                        ${toolChain.id} {
                            windowsSdkDir "${TextUtil.normaliseFileSeparators(sdk.getBaseDir().absolutePath)}"
                        }
                    }
                }
            """
    
            and:
            helloWorldApp.writeSources(file("src/main"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppMissingToolchainIntegrationTest.groovy

                            path(file('clang-bin'))
                        }
                        withType(VisualCpp) {
                            installDir = file('vs-install')
                            windowsSdkDir = file('sdk-install')
                        }
                    }
                }
    """
            new CppApp().writeToProject(testDirectory)
    
            when:
            succeeds("tasks")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top