Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCommonHeader (0.4 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CommonHeaderHelloWorldApp.groovy

     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    
    abstract class CommonHeaderHelloWorldApp extends HelloWorldApp {
        abstract SourceFile getCommonHeader()
    
        abstract String getSourceSetType()
    
        @Override
        TestNativeComponent getLibrary() {
            return new TestNativeComponent() {
                @Override
                List<SourceFile> getSourceFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

        }
    
        List<SourceFile> getAlternateLibrarySources(String headerPath) {
            updateCommonHeaderPath(app.getAlternateLibrarySources(), headerPath)
        }
    
        SourceFile getCommonHeader(String path = "") {
            updateSourceFilePath(app.getCommonHeader(), path)
        }
    
        SourceFile getAlternateLibraryHeader() {
            replaceInSourceFile(app.getLibraryHeader(), "compiling hello.h", "compiling alternate hello.h")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CHelloWorldApp.groovy

                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
            sourceFile("headers", "common.h", """
                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <stdio.h>
                #endif
            """)
        }
    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/ObjectiveCppHelloWorldApp.groovy

                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
            sourceFile("headers", "common.h", """
                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <iostream>
                #endif
            """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCHelloWorldApp.groovy

                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
            sourceFile("headers", "common.h", """
                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <stdio.h>
                #endif
            """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

                #else
                #pragma message("<==== compiling hello.h ====>")
                #endif
    
                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
            sourceFile("headers", "common.h", """
                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <iostream>
                #endif
            """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top