Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for CppLib (0.09 sec)

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

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    /**
     * A single project C++ library, with several source files.
     */
    class CppLib extends CppSourceElement {
        final greeter = new CppGreeter().asLib()
        final sum = new CppSum().asLib()
    
        @Override
        SourceElement getHeaders() {
            ofElements(greeter.headers, sum.headers)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryLinkageIntegrationTest.groovy

            return ":compileDebugCpp"
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @ToBeFixedForConfigurationCache
        def "can create static library binary when only static linkage is specified"() {
            def library = new CppLib()
            buildFile << """
                apply plugin: 'cpp-library'
    
                library {
                    linkage = [Linkage.STATIC]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppStaticLibraryLinkageProjectIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.ide.visualstudio
    
    import org.gradle.language.VariantContext
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.CppSourceElement
    
    class VisualStudioCppStaticLibraryLinkageProjectIntegrationTest extends AbstractVisualStudioProjectIntegrationTest {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBothLibraryLinkageIntegrationTest.groovy

            return "library"
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @ToBeFixedForConfigurationCache
        def "creates shared library binary by default when both linkage specified"() {
            def library = new CppLib()
            makeSingleProject()
            settingsFile << """
                rootProject.name = 'foo'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppSharedLibraryLinkageIntegrationTest.groovy

            return ":compileDebugCpp"
        }
    
        @Override
        protected SourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @ToBeFixedForConfigurationCache
        def "can create shared library binary when only shared linkage is specified"() {
            def library = new CppLib()
            buildFile << """
                apply plugin: 'cpp-library'
    
                library {
                    linkage = [Linkage.SHARED]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

    import org.gradle.nativeplatform.fixtures.app.CppAppWithLibrariesWithApiDependencies
    import org.gradle.nativeplatform.fixtures.app.CppGreeterWithOptionalFeature
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.SourceElement
    import org.hamcrest.CoreMatchers
    
    import static org.gradle.util.Matchers.containsText
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppBothLibraryLinkageProjectIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.ide.xcode
    
    
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.CppSourceElement
    
    class XcodeCppBothLibraryLinkageProjectIntegrationTest extends AbstractXcodeCppProjectIntegrationTest {
        @Override
        protected void makeSingleProject() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppSharedLibraryLinkageProjectIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.ide.xcode
    
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.CppSourceElement
    
    class XcodeCppSharedLibraryLinkageProjectIntegrationTest extends AbstractXcodeCppProjectIntegrationTest {
        @Override
        protected void makeSingleProject() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

        def "lib"() {
            given:
            sample cppLib
    
            when:
            run "mainSharedLibrary"
    
            then:
            executedAndNotSkipped ":compileMainSharedLibraryMainCpp", ":linkMainSharedLibrary", ":mainSharedLibrary"
    
            and:
            sharedLibrary(cppLib.dir.file("build/libs/main/shared/main")).assertExists()
    
            when:
            sample cppLib
            run "mainStaticLibrary"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppStaticLibraryLinkageProjectIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.ide.xcode
    
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.CppSourceElement
    
    class XcodeCppStaticLibraryLinkageProjectIntegrationTest extends AbstractXcodeCppProjectIntegrationTest {
        @Override
        protected void makeSingleProject() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top