Interface CppLibrary

  • All Superinterfaces:
    CppComponent, Named, SoftwareComponent

    @Incubating
    public interface CppLibrary
    extends CppComponent
    Configuration for a C++ library, defining the source files and header directories that make up the library plus other settings.

    An instance of this type is added as a project extension by the C++ library plugin.

    Since:
    4.2
    • Method Detail

      • getPublicHeaders

        ConfigurableFileCollection getPublicHeaders()
        Defines the public header file directories of this library.

        When this collection is empty, the directory src/main/public is used by default.

      • getPublicHeaderFiles

        FileTree getPublicHeaderFiles()
        Returns public header files of this component.
        Since:
        4.3
      • getApiDependencies

        Configuration getApiDependencies()
        Returns the API dependencies of this library.
      • getDebugSharedLibrary

        CppSharedLibrary getDebugSharedLibrary()
        Returns the debug shared library for this library.
      • getReleaseSharedLibrary

        CppSharedLibrary getReleaseSharedLibrary()
        Returns the release shared library for this library.