Class CppPlugin

java.lang.Object
org.gradle.language.cpp.plugins.CppPlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating @Deprecated public abstract class CppPlugin extends Object implements Plugin<Project>
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. cpp-application, cpp-library, swift-application, swift-library, xctest) instead.
A plugin for projects wishing to build native binary components from C++ sources.

Automatically includes the CppLangPlugin for core C++ support and the NativeComponentModelPlugin for native component support.

  • Constructor Details

    • CppPlugin

      public CppPlugin()
      Deprecated.
  • Method Details

    • apply

      public void apply(Project project)
      Deprecated.
      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