gwenhywfar 5.12.0
buildctx_depfile.c File Reference
#include "gwenbuild/buildctx/buildctx_p.h"
#include "gwenbuild/buildctx/buildctx_depfile.h"
#include "gwenbuild/buildctx/buildctx_run.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/text.h>
#include <gwenhywfar/directory.h>
#include <unistd.h>
#include <ctype.h>
Include dependency graph for buildctx_depfile.c:

Go to the source code of this file.

Macros

#define DISABLE_DEBUGLOG

Functions

static GWEN_STRINGLIST_makeAbsolutePaths (GWEN_STRINGLIST *slInput, const char *folder)
static void _overwriteEscapedLineFeedsWithSpace (GWEN_BUFFER *buffer)
static GWEN_STRINGLIST_readDepFile (const char *fileName)
GWEN_STRINGLISTGWB_BuildCtx_ReadAndTranslateDepfile (const char *folder, const char *fileName)

Macro Definition Documentation

◆ DISABLE_DEBUGLOG

#define DISABLE_DEBUGLOG

Definition at line 14 of file buildctx_depfile.c.

Function Documentation

◆ _makeAbsolutePaths()

◆ _overwriteEscapedLineFeedsWithSpace()

void _overwriteEscapedLineFeedsWithSpace ( GWEN_BUFFER * buffer)
static

Definition at line 95 of file buildctx_depfile.c.

References GWEN_Buffer_GetStart().

Referenced by _readDepFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _readDepFile()

◆ GWB_BuildCtx_ReadAndTranslateDepfile()

GWEN_STRINGLIST * GWB_BuildCtx_ReadAndTranslateDepfile ( const char * folder,
const char * fileName )

Definition at line 36 of file buildctx_depfile.c.

References _makeAbsolutePaths(), _readDepFile(), GWEN_StringList_free(), and NULL.

Referenced by _checkDependencies().

Here is the call graph for this function:
Here is the caller graph for this function: