Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for targetBuildTypes (0.18 sec)

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

            FileCollectionFactory fileCollectionFactory
        ) {
            Set<BuildType> targetBuildTypes = projectNativeComponent.chooseBuildTypes(allBuildTypes);
            for (BuildType buildType : targetBuildTypes) {
                BinaryNamingScheme namingSchemeWithBuildType = namingScheme.withVariantDimension(buildType, targetBuildTypes);
                executeForEachFlavor(
                    projectNativeComponent,
                    platform,
    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/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryBuildTypesIntegrationTest.groovy

            buildFile << """
    apply plugin: 'cpp'
    model {
        buildTypes {
            debug
            release
        }
        components {
            main(NativeExecutableSpec) {
                targetBuildTypes "release"
                binaries.all { binary ->
                    if (buildType == buildTypes.release) {
                        cppCompiler.define "FRENCH"
                    }
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/dsl/org.gradle.nativeplatform.TargetedNativeComponent.xml

                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>targetFlavors</td>
                </tr>
                <tr>
                    <td>targetBuildTypes</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/TargetedNativeComponent.java

         */
        void targetFlavors(String... flavorSelectors);
    
        /**
         * Specifies the names of one or more {@link BuildType}s that this component should be built for.
         */
        void targetBuildTypes(String... buildTypeSelectors);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractTargetedNativeComponentSpec.java

        }
    
        @Override
        public void targetFlavors(String... flavorSelectors) {
            Collections.addAll(flavors, flavorSelectors);
        }
    
        @Override
        public void targetBuildTypes(String... buildTypeSelectors) {
            Collections.addAll(buildTypes, buildTypeSelectors);
        }
    
        @Override
        public Set<Flavor> chooseFlavors(Set<? extends Flavor> candidates) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            app.library.writeSources(file("src/hello"))
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec)
            main(NativeExecutableSpec) {
                targetBuildTypes "release"
                sources {
                    cpp.lib library: 'hello'
                }
            }
        }
    }
    """
            and:
            run "visualStudio"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    a default component, Gradle will attempt to create a native binary variant for each and every combination of `buildType` and `flavor` defined for the project. It is possible to override this on a per-component basis, by specifying the set of `targetBuildTypes` and/or `targetFlavors`. By default, Gradle will build for the default platform, see <<#native_binaries:platform,above>>, unless specified explicitly on a per-component basis by specifying a set of `targetPlatforms`.
    
    === Example: Targeting...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top