Interface CppBinary

    • Field Detail

      • DEBUGGABLE_ATTRIBUTE

        static final Attribute<java.lang.Boolean> DEBUGGABLE_ATTRIBUTE
        The dependency resolution attribute use to indicate whether a binary is debuggable or not.
      • OPTIMIZED_ATTRIBUTE

        static final Attribute<java.lang.Boolean> OPTIMIZED_ATTRIBUTE
        The dependency resolution attribute use to indicate whether a binary is optimized or not.
        Since:
        4.5
      • LINKAGE_ATTRIBUTE

        static final Attribute<Linkage> LINKAGE_ATTRIBUTE
        The dependency resolution attribute use to indicate which linkage a binary uses.
        Since:
        4.5
    • Method Detail

      • getCppSource

        FileCollection getCppSource()
        Returns the C++ source files of this binary.
      • getCompileIncludePath

        FileCollection getCompileIncludePath()
        Returns the header directories to use to compile this binary. Includes the header directories of this binary plus those of its dependencies.
      • getLinkLibraries

        FileCollection getLinkLibraries()
        Returns the link libraries to use to link this binary. Includes the link libraries of the component's dependencies.
      • getRuntimeLibraries

        FileCollection getRuntimeLibraries()
        Returns the runtime libraries required by this binary. Includes the runtime libraries of the component's dependencies.
      • getTargetPlatform

        CppPlatform getTargetPlatform()
        Returns the target platform for this component.
        Since:
        4.5
      • getCompileTask

        Provider<CppCompile> getCompileTask()
        Returns the compile task for this binary.
        Since:
        4.5