Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for targetPlatform (0.21 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

    }
    """
            settingsFile << "rootProject.name = 'test'"
        }
    
        private void useStandardConfig() {
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) {
                targetPlatform "x86"
            }
        }
        testSuites {
            helloTest(GoogleTestTestSuiteSpec) {
                testing \$.components.hello
            }
        }
    }
    tasks.withType(RunTestExecutable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

                    binaries.withType(StaticLibraryBinary) {
                        def libName = targetPlatform.operatingSystem.windows ? 'hello.lib' : 'libhello.a'
                        staticLibraryFile = file("libs/build/libs/hello/static/english/\${libName}")
                    }
                    binaries.withType(SharedLibraryBinary) {
                        def os = targetPlatform.operatingSystem
                        def baseDir = "libs/build/libs/hello/shared/french"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

    eclipse.jdt {
        sourceCompatibility = '1.4'
        targetCompatibility = 1.3
    }
    '''
    
            def jdt = parseJdtFile()
            assert jdt.contains('source=1.4')
            assert jdt.contains('targetPlatform=1.3')
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void sourceAndTargetCompatibilityDefaultIsCurrentJavaVersion() {
            runEclipseTask '''
    apply plugin: 'java'
    apply plugin: 'eclipse'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

    }
    """
            settingsFile << "rootProject.name = 'test'"
        }
    
        private void useStandardConfig() {
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) {
                targetPlatform "x86"
            }
        }
        testSuites {
            helloTest(CUnitTestSuiteSpec) {
                testing \$.components.hello
            }
        }
        binaries {
            withType(CUnitTestSuiteBinarySpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

            project.assertHasLinkedResource('linkToUriFoo', 'aFooUri', 'http://test/uri/foo')
    
            file('.project').text.contains('<motto>Stay happy!</motto>')
    
            def jdt = parseJdtFile()
            assert jdt.contains('targetPlatform=1.3')
            assert jdt.contains('source=1.4')
        }
    
        @ToBeFixedForConfigurationCache
        void "allows custom matcher resource filter"() {
            given:
            buildScript """
    apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/docs/userguide/native/xctest_plugin.adoc

    link:{groovyDslPath}/org.gradle.language.swift.tasks.SwiftCompile.html#org.gradle.language.swift.tasks.SwiftCompile:targetPlatform[targetPlatform]:: derived from the `TargetMachine` of the binary
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/native/swift_library_plugin.adoc

    link:{groovyDslPath}/org.gradle.language.swift.tasks.SwiftCompile.html#org.gradle.language.swift.tasks.SwiftCompile:targetPlatform[targetPlatform]:: derived from the `TargetMachine` of the binary
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    link:{groovyDslPath}/org.gradle.language.cpp.tasks.CppCompile.html#org.gradle.language.cpp.tasks.CppCompile:targetPlatform[targetPlatform]:: derived from the `TargetMachine` of the binary
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top