Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 172 for targetPlatforms (0.39 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppPreCompiledHeaderCompileTest.groovy

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

        /**
         * Same as {@link #select(NativeLanguage, NativePlatformInternal)} with language {@link NativeLanguage#ANY}.
         */
        @Override
        PlatformToolProvider select(NativePlatformInternal targetPlatform);
    
        /**
         * Locates the tools that can build binaries from the given source language that can run on the given target machine.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt

        override fun getPackageSymbols(nameFilter: KaScopeNameFilter): Sequence<KaPackageSymbol> = withValidityAssertion {
            sequence {
                analysisSession.useSitePackageProvider.getSubPackageFqNames(fqName, analysisSession.targetPlatform, nameFilter).forEach {
                    yield(analysisSession.firSymbolBuilder.createPackageSymbol(fqName.child(it)))
                }
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateObjectiveCppBaseNamesTestApp.groovy

                void sayFoo2();
               """)
            ]
        }
    
        public String getExtraConfiguration() {
            return """
                binaries {
                    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
    - 2.7K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppPreCompiledHeaderCompileTest.groovy

            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
            when:
            objCppPCHCompile.toolChain = toolChain
            objCppPCHCompile.targetPlatform = platform
            objCppPCHCompile.compilerArgs = ["arg"]
            objCppPCHCompile.macros = [def: "value"]
            objCppPCHCompile.objectFileDir = temporaryFolder.file("outputFile")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MixedObjectiveCHelloWorldApp.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
    - 3.8K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/InstallExecutableIntegrationTest.groovy

                    if (${!OperatingSystem.current().windows}) {
                        cCompiler.withArguments { it << '-fPIC' }
                    }
                }
            }
        }
        components.main {
            targetPlatform "$installOS"
        }
    }
            """
            and:
            succeeds "install"
    
            then:
            installation("build/install/main", OperatingSystem.forName(installOS)).assertInstalled()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. 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)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/GccToolChainCrossCompilationIntegrationTest.groovy

                        cCompiler.withArguments { it << '-fPIC' }
                    }
                }
            }
        }
        components {
            all {
                targetPlatform "custom"
            }
        }
    }
    """
    
            when:
            run 'mainExe'
    
            then:
            file(OperatingSystem.WINDOWS.getStaticLibraryName("build/libs/hello/static/hello")).file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy

        def "executes using the C Compiler"() {
            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
    
            when:
            cCompile.toolChain = toolChain
            cCompile.targetPlatform = platform
            cCompile.compilerArgs = ["arg"]
            cCompile.macros = [def: "value"]
            cCompile.objectFileDir = temporaryFolder.file("outputFile")
            cCompile.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)
Back to top