# Class CppBasePlugin

java.lang.Object
org.gradle.language.cpp.plugins.CppBasePlugin

All Implemented Interfaces:
  `Plugin<Project>`

@NullMarked public abstract class CppBasePlugin extends Object implements Plugin<Project>
A common base plugin for the C++ executable and library plugins

Since:
  4.1

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CppBasePlugin(org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry publicationRegistry)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `apply(Project project)`
  Apply this plugin to the given target object.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CppBasePlugin

    @Inject public CppBasePlugin(org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectPublicationRegistry publicationRegistry)

- ## Method Details

  - ### apply

    public void apply(Project project)
    Description copied from interface: `Plugin`
    Apply this plugin to the given target object.
    Specified by:
      `apply` in interface `Plugin<Project>`
    Parameters:
      `project` - The target object