Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for privateHeaders (0.35 sec)

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

    """))
    
        final SourceFileElement source = ofFile(new SourceFile("cpp", "multiply.cpp", """
    #include "multiply.h"
    
    int Multiply::multiply(int a, int b) {
        return a * b;
    }
    """))
    
        final SourceElement privateHeaders = header
        final SourceElement publicHeaders = empty()
    
        @Override
        int multiply(int a, int b) {
            return a * b
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppComponentTest.groovy

        }
    
        def "does not include the convention for private headers when some other location specified"() {
            def d = tmpDir.file("other")
    
            expect:
            component.privateHeaders.from(d)
            component.privateHeaderDirs.files == [d] as Set
        }
    
        def "can query the header files of the component"() {
            def d1 = tmpDir.createDir("d1")
            def f1 = d1.createFile("a.h")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. platforms/native/language-native/src/main/java/org/gradle/language/cpp/CppComponent.java

         */
        ConfigurableFileCollection getPrivateHeaders();
    
        /**
         * Configures the private header directories for this component.
         */
        void privateHeaders(Action<? super ConfigurableFileCollection> action);
    
        /**
         * Returns the private header include directories of this component, as defined in {@link #getPrivateHeaders()}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.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
    - 7.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top