Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for privateHeaders (0.16 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            given:
            lib.sources.writeToSourceDir(file("srcs"))
            lib.privateHeaders.writeToSourceDir(file("include"))
            lib.publicHeaders.writeToSourceDir(file("pub"))
            file("src/main/public/${lib.greeter.header.sourceFile.name}") << "ignore me!"
            file("src/main/headers/${lib.greeter.privateHeader.sourceFile.name}") << "ignore me!"
            file("src/main/cpp/broken.cpp") << "ignore me!"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

            given:
            def src = projectDir.file("src/main/cpp/lib.cpp").createFile()
            def publicHeaders = projectDir.file("src/main/public").createDir()
            def privateHeaders = projectDir.file("src/main/headers").createDir()
    
            when:
            project.pluginManager.apply(CppLibraryPlugin)
            project.evaluate()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy

                library {
                    source.from 'Sources'
                    privateHeaders.from 'Sources/include'
                    publicHeaders.from 'Includes'
                }
            """
    
            when:
            def lib = new CppLib()
            lib.publicHeaders.writeToSourceDir(file('Includes'))
            lib.privateHeaders.writeToSourceDir(file('Sources/include'))
            lib.sources.writeToSourceDir(file('Sources'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/native/cpp_application_plugin.adoc

    `src/main/headers`::
    Headers - headers needed to compile the application
    
    You <<building_cpp_projects.adoc#sec:custom_cpp_source_set_paths,configure the project layout>> by configuring the `source` and `privateHeaders` respectively on the `application` script block.
    
    [[sec:cpp_application_compile_task]]
    === `compile__Variant__Cpp` Task
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/native/cpp_unit_test_plugin.adoc

    `src/test/headers`::
    Headers - headers needed to compile the unit test
    
    You <<building_cpp_projects.adoc#sec:custom_cpp_source_set_paths,configure the project layout>> by configuring the `source` and `privateHeaders` respectively on the `unitTest` script block.
    
    [[sec:cpp_unit_test_compile_task]]
    === `compileTest__Variant__Cpp` Task
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    `src/main/public`::
    Public headers - headers needed to compile the library and required by consumers
    
    You <<building_cpp_projects.adoc#sec:custom_cpp_source_set_paths,configure the project layout>> by configuring the `source`, `privateHeaders` and `publicHeaders` respectively on the `library` script block.
    
    [[sec:cpp_library_compile_task]]
    === `compile__Variant__Cpp` Task
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "can publish the binaries and headers of a library to a Maven repository"() {
            def lib = new CppLib()
            assert !lib.publicHeaders.files.empty
            assert !lib.privateHeaders.files.empty
    
            given:
            buildFile << """
                apply plugin: 'cpp-library'
                apply plugin: 'maven-publish'
    
                group = 'some.group'
                version = '1.2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            and:
            buildFile << """
                apply plugin: 'cpp-application'
                application {
                    source.from 'srcs'
                    privateHeaders.from 'include'
                }
             """
    
            expect:
            succeeds "assemble"
            result.assertTasksExecuted(tasks.debug.allToInstall, ':assemble')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

                apply plugin: 'cpp-application'
                application {
                    baseName = 'some-app'
                    source.from 'src'
                    source.from 'other/app-impl.cpp'
                    privateHeaders.from = ['include']
                    binaries.configureEach {
                        compileTask.get().includes.from("other")
                        compileTask.get().compilerArgs.add("--compile=\$name")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            then:
            succeeds installApp
            install.exec().out == "hello world"
    
            when:
            buildFile << """
                project(':app') {
                    application.privateHeaders.from = ['src/main/include']
                }
            """
    
            then:
            succeeds installApp
            install.exec().out == "hello world"
    
            and:
            allSkipped()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
Back to top