Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for StaticLibraryBinarySpec (0.34 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultStaticLibraryBinarySpecTest.groovy

    import org.gradle.language.nativeplatform.HeaderExportingSourceSet
    import org.gradle.nativeplatform.BuildType
    import org.gradle.nativeplatform.NativeLibrarySpec
    import org.gradle.nativeplatform.StaticLibraryBinarySpec
    import org.gradle.nativeplatform.internal.resolve.NativeDependencyResolver
    import org.gradle.nativeplatform.platform.NativePlatform
    import org.gradle.nativeplatform.tasks.CreateStaticLibrary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            given:
            buildFile << """
    apply plugin: "cpp"
    model {
        components {
            main(NativeLibrarySpec)
        }
        binaries {
            withType(StaticLibraryBinarySpec) {
                staticLibArchiver.args "not_a_file"
            }
        }
    }
    
            """
    
            and:
            file("src/main/cpp/hello.cpp") << """
                void hello() {
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

    plugins {
        id 'cpp'
    }
    
    model {
        toolChains {
            ${toolChain.buildScriptConfig}
        }
        components {
            someLib(NativeLibrarySpec) {
                binaries.withType(StaticLibraryBinarySpec) {
                    sources {
                        moreCpp(CppSourceSet)
                    }
                }
            }
        }
    }
    """
            when:
            succeeds "components"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinary.java

    import org.gradle.nativeplatform.NativeExecutableBinarySpec;
    import org.gradle.nativeplatform.PreprocessingTool;
    import org.gradle.nativeplatform.SharedLibraryBinarySpec;
    import org.gradle.nativeplatform.StaticLibraryBinarySpec;
    import org.gradle.nativeplatform.internal.NativeBinarySpecInternal;
    import org.gradle.nativeplatform.tasks.InstallExecutable;
    import org.gradle.nativeplatform.test.NativeTestSuiteBinarySpec;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageParallelIntegrationTest.groovy

                buildFile << """
                    model {
                        // Allow static libraries to be linked into shared
                        binaries {
                            withType(StaticLibraryBinarySpec) {
                                if (toolChain in Gcc || toolChain in Clang) {
                                    cppCompiler.args '-fPIC'
                                }
                            }
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

                    sharedLibraryFile = modPath(sharedLibraryFile)
                    sharedLibraryLinkFile = modPath(sharedLibraryLinkFile)
                }
                binaries.withType(StaticLibraryBinarySpec) {
                    staticLibraryFile = modPath(staticLibraryFile)
                }
            }
        }
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

                createNativeBinary(StaticLibraryBinarySpec.class, binaries, resolver, fileCollectionFactory, namingScheme.withBinaryType("StaticLibrary").withRole("static", false), platform, buildType, flavor);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIntegrationTest.groovy

                            }
                        }
                        hello(NativeLibrarySpec) {
                            binaries.withType(StaticLibraryBinarySpec) {
                                ${helloWorldApp.compilerDefine("FRENCH")}
                            }
                        }
                    }
                }
            """
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryApiDependenciesIntegrationTest.groovy

            settingsFile << "rootProject.name = 'test'"
            buildFile << """
    apply plugin: "cpp"
    
    model {
        // Allow static libraries to be linked into shared
        binaries {
            withType(StaticLibraryBinarySpec) {
                if (toolChain in Gcc || toolChain in Clang) {
                    cppCompiler.args '-fPIC'
                }
            }
        }
    }
    """
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/plugins/NativeComponentModelPlugin.java

    import org.gradle.nativeplatform.PrebuiltLibrary;
    import org.gradle.nativeplatform.Repositories;
    import org.gradle.nativeplatform.SharedLibraryBinarySpec;
    import org.gradle.nativeplatform.StaticLibraryBinarySpec;
    import org.gradle.nativeplatform.TargetedNativeComponent;
    import org.gradle.nativeplatform.internal.DefaultBuildTypeContainer;
    import org.gradle.nativeplatform.internal.DefaultFlavor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.1K bytes
    - Viewed (0)
Back to top