Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 178 for targetPlatform (0.18 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CPreCompiledHeaderCompileTest.groovy

            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
            when:
            cPCHCompile.toolChain = toolChain
            cPCHCompile.targetPlatform = platform
            cPCHCompile.compilerArgs = ["arg"]
            cPCHCompile.macros = [def: "value"]
            cPCHCompile.objectFileDir = temporaryFolder.file("outputFile")
            cPCHCompile.source sourceFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeBinaryRulesTest.groovy

            binary.component >> component
            binary.platformToolProvider >> toolProvider
            binary.namingScheme >> DefaultBinaryNamingScheme.component("comp_name")
            binary.targetPlatform >> platform
    
            component.baseName >> "base_name"
            return binary
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseJavaProjectIntegrationTest.groovy

            """
    
            when:
            run "eclipse"
    
            then:
            def properties = parseProperties('.settings/org.eclipse.jdt.core.prefs')
            properties['org.eclipse.jdt.core.compiler.codegen.targetPlatform'] == expectedVersion
    
            where:
            version | expectedVersion
            '1.1'   | '1.1'
            '1.2'   | '1.2'
            '1.3'   | '1.3'
            '1.4'   | '1.4'
            '1.5'   | '1.5'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppCompileTest.groovy

            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
            when:
            objCppCompile.toolChain = toolChain
            objCppCompile.targetPlatform = platform
            objCppCompile.compilerArgs = ["arg"]
            objCppCompile.macros = [def: "value"]
            objCppCompile.objectFileDir = temporaryFolder.file("outputFile")
            objCppCompile.source sourceFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCppHelloWorldApp.groovy

        String getExtraConfiguration(String binaryName = null) {
            return """
                model {
                    binaries {
                        ${binaryName ? binaryName : "all"} {
                            if (targetPlatform.operatingSystem.macOsX) {
                                linker.args "-framework", "Foundation"
                            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppCompileTest.groovy

        def "executes using the CppCompiler"() {
            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
            when:
            cppCompile.toolChain = toolChain
            cppCompile.targetPlatform = platform
            cppCompile.compilerArgs = ["arg"]
            cppCompile.macros = [def: "value"]
            cppCompile.objectFileDir = temporaryFolder.file("outputFile")
            cppCompile.source sourceFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitDependentComponentsIntegrationSpec.groovy

        }
    
        private void useStandardConfig() {
            buildFile << """
                model {
                    components {
                        hello(NativeLibrarySpec) {
                            targetPlatform "x86"
                        }
                    }
                    testSuites {
                        helloTest(CUnitTestSuiteSpec) {
                            testing \$.components.hello
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCHelloWorldApp.groovy

        String getExtraConfiguration(String binaryName = null) {
            return """
                model {
                    binaries {
                        ${binaryName ? binaryName : "all"} {
                            if (targetPlatform.operatingSystem.macOsX) {
                                linker.args "-framework", "Foundation"
                            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

                    buildTypes {
                        debug
                        release
                    }
                    components {
                        all {
                            targetPlatform "win32"
                            targetPlatform "x64"
                        }
                    }
                }
            """
        }
    
        @Issue("https://github.com/gradle/gradle/issues/790")
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPlugin.java

                                            () -> getAllTestExecutable().findFirst().orElse(null)));
                }
    
                private boolean isCurrentArchitecture(NativePlatform targetPlatform) {
                    return targetPlatform.getArchitecture().equals(DefaultNativePlatform.getCurrentArchitecture());
                }
    
                private Stream<DefaultCppTestExecutable> getAllBuildableTestExecutable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top