Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for writeResources (0.19 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryFlavorsIntegrationTest.groovy

                }
            }
            main(NativeExecutableSpec) {
                binaries.all {
                    lib library: 'hello'
                }
            }
        }
    }
    """
    
            helloWorldApp.writeSources(file("src/main"), file("src/hello"), file("src/greetings"))
        }
    
        @ToBeFixedForConfigurationCache
        def "can configure components for a single flavor"() {
            given:
            buildFile << """
    model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIntegrationTest.groovy

                            windowsSdkDir "${TextUtil.normaliseFileSeparators(sdk.getBaseDir().absolutePath)}"
                        }
                    }
                }
            """
    
            and:
            helloWorldApp.writeSources(file("src/main"))
    
            when:
            run "mainExecutable"
    
            then:
            def mainExecutable = executable("build/exe/main/main")
            mainExecutable.assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIncrementalBuildIntegrationTest.groovy

            buildFile << helloWorldApp.extraConfiguration
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
            """
    
            helloWorldApp.writeSources(file("src/main"))
            unusedHeaderFile = file("src/main/headers/unused.h") << """
        #define DUMMY_HEADER_FILE
    """
    
            run "mainExecutable"
    
            mainExe = executable("build/exe/main/main")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioFileCustomizationIntegrationTest.groovy

        def app = new CppHelloWorldApp()
    
        def setup() {
            settingsFile << """
                rootProject.name = 'app'
            """
            app.writeSources(file("src/main"))
            buildFile << """
        apply plugin: 'cpp'
        apply plugin: 'visual-studio'
    
        model {
            platforms {
                win32 {
                    architecture "i386"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top