Interface HasImportLibrary

  • All Known Implementing Classes:
    WindowsLinker

    public interface HasImportLibrary
    A windows shared library consists of two files: (1) a dll to be used at runtime and (2) an import library (static library) to be used to link against a given shared library. Wnen creating a dll, link.exe produces a dll file and a corresponding import library file. This interface represents those concepts.
    • Method Detail

      • importLibrary

        Iterable<Arg> importLibrary​(Path output)
        Parameters:
        output - the path of the output binary
        Returns:
        the platform-specific way to generate an implib file.
      • importLibraryPath

        Path importLibraryPath​(Path output)
        Parameters:
        output - the path of the output binary
        Returns:
        the path of the output binary's link-map file generated by the linker.