CppLibrary

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

Functions

Link copied to clipboard
Returns the API dependencies of this library.
Link copied to clipboard
abstract fun getBaseName(): Property<String>
Specifies the base name for this component.
Link copied to clipboard
Returns the binaries of this component.
Returns the binaries for this library.
Link copied to clipboard
Returns the C++ source files of this component, as defined in getSource.
Link copied to clipboard
Returns the dependencies of this library.
Link copied to clipboard
Returns the binary of the component to use as the default for development.
Link copied to clipboard
abstract fun getHeaderFiles(): FileTree
Returns all header files of this component.
Link copied to clipboard
Returns the implementation dependencies of this component.
Link copied to clipboard
abstract fun getLinkage(): SetProperty<Linkage>
Returns the list of linkage of this library.
Link copied to clipboard
abstract fun getName(): String
The object's name.
Link copied to clipboard
Returns the private header include directories of this component, as defined in getPrivateHeaders.
Link copied to clipboard
Defines the private header file directories of this library.
Link copied to clipboard
Returns the public header file directories of this component, as defined in getPublicHeaders.
Link copied to clipboard
Returns public header files of this component.
Link copied to clipboard
Defines the public header file directories of this library.
Link copied to clipboard
Defines the source files or directories of this component.
Link copied to clipboard
Specifies the target machines this component should be built for.
Link copied to clipboard
Configures the private header directories for this component.
Link copied to clipboard
Configures the public header directories for this component.
Link copied to clipboard
abstract fun source(action: Action<in ConfigurableFileCollection>)
Configures the source files or directories for this component.