compiler/front/depfiles

  Source   Edit

Functions for writing target's dependencies in various formats.

Procs

proc writeDepsFile(g: ModuleGraph) {....raises: [OSError, IOError],
                                     tags: [WriteIOEffect].}
  Source   Edit
proc writeGccDepfile(depfile: File; target: string; paths: openArray[string]) {.
    ...raises: [IOError], tags: [WriteIOEffect].}
Outputs one make rule containing target's file name, a colon, and the names of all specified paths. Spaces and hashes are escaped.   Source   Edit