Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for librarySources (0.26 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppToolChainChangesIntegrationTest.groovy

            """
            app.mainSource.writeToDir(file("app/src/main"))
            app.libraryHeader.writeToDir(file("library/src/main"))
            app.commonHeader.writeToDir(file("library/src/main"))
            app.librarySources.each {
                it.writeToDir(file("library/src/main"))
            }
        }
    
        @ToBeFixedForConfigurationCache
        def "recompiles binary when toolchain changes from #toolChainBefore to #toolChainAfter"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCppHelloWorldApp.groovy

                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <iostream>
                #endif
            """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("objcpp", "hello.mm", """
                #define __STDC_LIMIT_MACROS
                #include "common.h"
                #include <stdint.h>
                #import <Foundation/Foundation.h>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CHelloWorldApp.groovy

                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <stdio.h>
                #endif
            """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("c", "hello.c", """
                #include "common.h"
    
                #ifdef FRENCH
                char* greeting() {
                    return "${HELLO_WORLD_FRENCH}";
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/WindowsResourceHelloWorldApp.groovy

    #define DLL_FUNC __declspec(dllexport)
    #define MODULE_HANDLE GetModuleHandle("hello")
    #else
    #define DLL_FUNC
    #define MODULE_HANDLE null
    #endif
    
    void DLL_FUNC hello();
    """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("cpp", "hello.cpp", """
    #include <iostream>
    #include <windows.h>
    #include <string>
    #include "hello.h"
    
    std::string LoadStringFromResource(UINT stringID)
    {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <iostream>
                #endif
            """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("cpp", "hello.cpp", """
                #include "common.h"
    
                #ifdef FRENCH
                const char* greeting() {
                    return "${HELLO_WORLD_FRENCH}";
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

            val libraryPath = Paths.get(library)
            return object : KtLibraryModule {
                override val libraryName: String = libraryPath.fileName.toString().substringBeforeLast(".")
                override val librarySources: KtLibrarySourceModule? = null
                override fun getBinaryRoots(): Collection<Path> = listOf(libraryPath)
                override val directRegularDependencies: List<KtModule> = emptyList()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "locates prebuilt library in another project"() {
            given:
            app.executable.writeSources(file("projectA/src/main"))
            app.librarySources*.writeToDir(file("projectA/src/main"))
            app.libraryHeader.writeToDir(file("projectB/libs/src/hello"))
    
            and:
            settingsFile.text = "include ':projectA', ':projectB'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            sourceFile = app.mainSource.writeToDir(file("src/main"))
            sharedHeaderFile = app.libraryHeader.writeToDir(file("src/main"))
            commonHeaderFile = app.commonHeader.writeToDir(file("src/main"))
            app.librarySources.each {
                otherSourceFiles << it.writeToDir(file("src/main"))
            }
            otherHeaderFile = file("src/main/headers/other.h") << """
                // Dummy header file
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy

            sourceFile = app.mainSource.writeToDir(file("src/main"))
            headerFile = app.libraryHeader.writeToDir(file("src/hello"))
            commonHeaderFile = app.commonHeader.writeToDir(file("src/hello"))
            app.librarySources.each {
                librarySourceFiles << it.writeToDir(file("src/hello"))
            }
        }
    
        @ToBeFixedForConfigurationCache
        def "does not re-execute build with no change"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

            when (this) {
                is KtLibrarySourceModule -> {
                    add(binaryLibrary)
                }
                is KtLibraryModule -> {
                    addIfNotNull(librarySources)
                }
            }
        }
    
        private fun KtBinaryModule.getJavaRoots(
            environment: KotlinCoreProjectEnvironment,
        ): List<JavaRoot> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top