Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 86 for NativeExecutableSpec (0.25 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultNativeExecutableBinarySpec.java

        private final NativeExecutableFileSpec executable = new NativeExecutableFileSpec();
    
        @Override
        public NativeExecutableSpec getComponent() {
            return getComponentAs(NativeExecutableSpec.class);
        }
    
        @Override
        public NativeExecutableSpec getApplication() {
            return getComponentAs(NativeExecutableSpec.class);
        }
    
        @Override
        public NativeExecutableFileSpec getExecutable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

                        }
                    }
                }
            }
        }
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'hello'
                }
            }
            mainStatic(NativeExecutableSpec) {
                sources {
                    cpp {
                        source.srcDir "src/main/cpp"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryBuildTypesIntegrationTest.groovy

                ext.debug = true
            }
            integration {
                ext.debug = true
            }
            release {
                ext.debug = false
            }
        }
        components {
            main(NativeExecutableSpec) {
                binaries.all { binary ->
                    if (toolChain in Gcc && buildType.debug) {
                        cppCompiler.args "-g"
                    }
                    if (toolChain in VisualCpp) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetDependenciesIntegrationTest.groovy

            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("src/library"))
    
            buildFile << """
    apply plugin: 'c'
    
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    library(CSourceSet) {
                        source.srcDir "src/library/c"
                        exportedHeaders.srcDir "src/library/headers"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

            given:
            app.writeSources(file('src/main'))
    
            and:
            buildFile << """
                model {
                    components {
                        main(NativeExecutableSpec)
                    }
                }
             """
    
            expect:
            succeeds "mainExecutable"
            executable("build/exe/main/main").exec().out == app.expectedOutput(toolChain)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            and:
            createDirs("exe", "other")
            settingsFile.text = "include ':exe', ':other'"
            buildFile << """
    project(":exe") {
        model {
            components {
                main(NativeExecutableSpec) {
                    sources {
                        cpp.lib ${dependencyNotation}
                    }
                }
                hello(NativeLibrarySpec)
            }
        }
    }
    project(":other") {
        model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

    import org.gradle.language.base.LanguageSourceSet
    import org.gradle.model.ModelMap
    import org.gradle.nativeplatform.NativeBinary
    import org.gradle.nativeplatform.NativeExecutableBinarySpec
    import org.gradle.nativeplatform.NativeExecutableSpec
    import org.gradle.nativeplatform.NativeLibrarySpec
    import org.gradle.platform.base.PlatformBaseSpecification
    
    abstract class AbstractNativeComponentPluginTest extends PlatformBaseSpecification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

            project.model {
                components {
                    test(NativeExecutableSpec) {
                        targetPlatform "platform"
                    }
                }
            }
    
            then:
            NativeExecutableSpec executable = single(components.values()) as NativeExecutableSpec
            NativeExecutableBinarySpec executableBinary = single(binaries) as NativeExecutableBinarySpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultNativeExecutableSpecTest.groovy

    import org.gradle.nativeplatform.NativeExecutableSpec
    import org.gradle.platform.base.component.BaseComponentFixtures
    import org.gradle.platform.base.internal.DefaultComponentSpecIdentifier
    import spock.lang.Specification
    
    class DefaultNativeExecutableSpecTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

            settingsFile << """
                include ':exe', ':lib'
            """
            file("exe", "build.gradle") << """
                model {
                    components {
                        main(NativeExecutableSpec) {
                            sources {
                                cpp.lib project: ':lib', library: 'hello', linkage: 'static'
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top