Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for librarySources (0.22 sec)

  1. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/builder/KtLibraryModuleBuilder.kt

    @KtModuleBuilderDsl
    public class KtLibraryModuleBuilder(
        private val kotlinCoreProjectEnvironment: KotlinCoreProjectEnvironment
    ) : KtBinaryModuleBuilder() {
        public lateinit var libraryName: String
        public var librarySources: KtLibrarySourceModule? = null
    
        override fun build(): KtLibraryModule {
            val binaryRoots = getBinaryRoots()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Sep 06 07:36:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageIntegrationTest.groovy

            given:
            helloWorldApp.mainSource.writeToDir(file("src/main"))
            helloWorldApp.getLibraryHeader().writeToDir(file("src/main"))
            helloWorldApp.librarySources[0].writeToDir(file("src/main"))
            file("src/main/sum-sources/sum.s") << helloWorldApp.librarySources[1].content
    
            and:
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtLibraryModuleImpl.kt

        override val platform: TargetPlatform,
        override val project: Project,
        private val binaryRoots: Collection<Path>,
        override val libraryName: String,
        override val librarySources: KtLibrarySourceModule?,
    ) : KtLibraryModule, KtModuleWithPlatform {
        override val transitiveDependsOnDependencies: List<KtModule> by lazy {
            computeTransitiveDependsOnDependencies(directDependsOnDependencies)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 15:47:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy

            file("src/main/cpp/main.cpp") << helloWorldApp.mainSource.content
            file("src/main/cpp2/hello.cpp") << helloWorldApp.librarySources[0].content
            file("src/main/sum-sources/sum.cpp") << helloWorldApp.librarySources[1].content
    
            and:
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

            given:
            new SourceFile(app.sourceType, "hello.h", app.libraryHeader.content).writeToDir(file("src/hello"))
            app.librarySources.each { it.writeToDir(file("src/hello")) }
            new SourceFile(app.sourceType, "common.h", app.commonHeader.content).writeToDir(file("src/hello"))
    
            when:
            buildFile << preCompiledHeaderComponent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCallingMixedCAndCppHelloWorldApp.groovy

                    int DLL_FUNC sum(int a, int b);
    
                    #ifdef __cplusplus
                    }
                    #endif
            """)
        }
    
    
        List<SourceFile> librarySources = [
            new SourceFile("cpp", "hello.cpp", """
                #include <iostream>
                #include "hello.h"
    
                void DLL_FUNC sayHello() {
                    #ifdef FRENCH
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/PlatformDetectingTestApp.groovy

    #ifdef _WIN32
    #define DLL_FUNC __declspec(dllexport)
    #else
    #define DLL_FUNC
    #endif
    
    void DLL_FUNC outputLibraryPlatform();
            """)
        }
    
    
        List<SourceFile> librarySources = [
            new SourceFile("cpp", "hello.cpp", """
    #include <iostream>
    using namespace std;
    #include "hello.h"
    
    void DLL_FUNC outputLibraryPlatform() {
        ${outputPlatform()}
    }
            """)
        ]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

            file("src/main/c/main.c") << helloWorldApp.mainSource.content
            file("src/main/c2/hello.c") << helloWorldApp.librarySources[0].content
            file("src/main/sum-sources/sum.c") << helloWorldApp.librarySources[1].content
    
            and:
            buildFile << """
        model {
            components {
                main(NativeExecutableSpec) {
                    sources {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCallingCHelloWorldApp.groovy

                #else
                #define DLL_FUNC
                #endif
    
                void DLL_FUNC sayHello();
                int DLL_FUNC sum(int a, int b);
            """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("c", "hello.c", """
                #include <stdio.h>
                #include "hello.h"
    
                void DLL_FUNC sayHello() {
                    #ifdef FRENCH
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ExeWithLibraryUsingLibraryHelloWorldApp.groovy

                #define DLL_FUNC __declspec(dllexport)
                #else
                #define DLL_FUNC
                #endif
    
                void DLL_FUNC sayHello();
            """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("cpp", "hello.cpp", """
                #include <iostream>
                #include "hello.h"
                #include "greetings.h"
    
                void DLL_FUNC sayHello() {
    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