Klasse CppApplicationPlugin

java.lang.Object
org.gradle.language.cpp.plugins.CppApplicationPlugin
Alle implementierten Schnittstellen:
Plugin<Project>

public abstract class CppApplicationPlugin extends Object implements Plugin<Project>

A plugin that produces a native application from C++ source.

Assumes the source files are located in `src/main/cpp` and header files are located in `src/main/headers`.

Adds a CppApplication extension to the project to allow configuration of the application.

Seit:
4.5
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    CppApplicationPlugin(org.gradle.language.internal.NativeComponentFactory componentFactory, org.gradle.language.nativeplatform.internal.toolchains.ToolChainSelector toolChainSelector, org.gradle.api.internal.attributes.AttributesFactory attributesFactory, TargetMachineFactory targetMachineFactory)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    apply(Project project)
    Apply this plugin to the given target object.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • CppApplicationPlugin

      @Inject public CppApplicationPlugin(org.gradle.language.internal.NativeComponentFactory componentFactory, org.gradle.language.nativeplatform.internal.toolchains.ToolChainSelector toolChainSelector, org.gradle.api.internal.attributes.AttributesFactory attributesFactory, TargetMachineFactory targetMachineFactory)
  • Methodendetails

    • apply

      public void apply(Project project)
      Beschreibung aus Schnittstelle kopiert: Plugin
      Apply this plugin to the given target object.
      Angegeben von:
      apply in Schnittstelle Plugin<Project>
      Parameter:
      project - The target object