|
gwenhywfar 5.10.1
|
#include "gwenbuild/buildctx/buildctx.h"#include "gwenbuild/buildctx/buildctx_run.h"#include "gwenbuild/buildctx/buildctx_p.h"#include <gwenhywfar/debug.h>#include <gwenhywfar/text.h>#include <gwenhywfar/directory.h>#include <unistd.h>#include <ctype.h>
Go to the source code of this file.
Macros | |
| #define | DISABLE_DEBUGLOG |
| #define DISABLE_DEBUGLOG |
Definition at line 14 of file buildctx.c.
| void GWB_BuildCtx_AddCommand | ( | GWB_BUILD_CONTEXT * | bctx, |
| GWB_BUILD_CMD * | cmd | ||
| ) |
Definition at line 83 of file buildctx.c.
Referenced by _addBuildCmd(), and _addBuildCommands().

| void GWB_BuildCtx_AddFile | ( | GWB_BUILD_CONTEXT * | bctx, |
| GWB_FILE * | file | ||
| ) |
Definition at line 97 of file buildctx.c.
References GWB_File_SetId().
Referenced by _addFilesToBuildCtx(), GWB_BuildCtx_AddInFileToCtxAndCmd(), and GWB_BuildCtx_AddOutFileToCtxAndCmd().


| void GWB_BuildCtx_AddInFilesToCtxAndCmd | ( | GWB_BUILD_CONTEXT * | bctx, |
| GWB_BUILD_CMD * | bcmd, | ||
| GWB_FILE_LIST2 * | fileList | ||
| ) |
Definition at line 130 of file buildctx.c.
References GWB_BuildCtx_AddInFileToCtxAndCmd().
Referenced by _addBuildCmd().


| void GWB_BuildCtx_AddInFileToCtxAndCmd | ( | GWB_BUILD_CONTEXT * | bctx, |
| GWB_BUILD_CMD * | bcmd, | ||
| GWB_FILE * | file | ||
| ) |
Definition at line 112 of file buildctx.c.
References GWB_BuildCmd_AddInFile(), GWB_BuildCtx_AddFile(), GWB_BuildCtx_GetFileByPathAndName(), GWB_File_dup(), GWB_File_GetFolder(), and GWB_File_GetName().
Referenced by GWB_BuildCtx_AddInFilesToCtxAndCmd().


| void GWB_BuildCtx_AddOutFilesToCtxAndCmd | ( | GWB_BUILD_CONTEXT * | bctx, |
| GWB_BUILD_CMD * | bcmd, | ||
| GWB_FILE_LIST2 * | fileList | ||
| ) |
Definition at line 167 of file buildctx.c.
References GWB_BuildCtx_AddOutFileToCtxAndCmd().
Referenced by _addBuildCmd().


| void GWB_BuildCtx_AddOutFileToCtxAndCmd | ( | GWB_BUILD_CONTEXT * | bctx, |
| GWB_BUILD_CMD * | bcmd, | ||
| GWB_FILE * | file | ||
| ) |
Definition at line 149 of file buildctx.c.
References GWB_BuildCmd_AddOutFile(), GWB_BuildCtx_AddFile(), GWB_BuildCtx_GetFileByPathAndName(), GWB_File_dup(), GWB_File_GetFolder(), and GWB_File_GetName().
Referenced by GWB_BuildCtx_AddOutFilesToCtxAndCmd().


| void GWB_BuildCtx_Dump | ( | const GWB_BUILD_CONTEXT * | bctx, |
| int | indent | ||
| ) |
Definition at line 186 of file buildctx.c.
References GWBUILD_Debug_PrintBuildCmdList2(), and GWBUILD_Debug_PrintFileList2().

| void GWB_BuildCtx_free | ( | GWB_BUILD_CONTEXT * | bctx | ) |
Definition at line 43 of file buildctx.c.
References GWB_BuildCmd_List2_FreeAll(), GWB_File_List2_FreeAll(), and GWEN_FREE_OBJECT.
Referenced by GWBUILD_MakeBuildCommands().


| GWB_BUILD_CMD_LIST2 * GWB_BuildCtx_GetCommandList | ( | const GWB_BUILD_CONTEXT * | bctx | ) |
Definition at line 76 of file buildctx.c.
| GWB_FILE * GWB_BuildCtx_GetFileByPathAndName | ( | const GWB_BUILD_CONTEXT * | bctx, |
| const char * | folder, | ||
| const char * | fname | ||
| ) |
Definition at line 105 of file buildctx.c.
References GWB_File_List2_GetFileByPathAndName().
Referenced by GWB_BuildCtx_AddInFileToCtxAndCmd(), and GWB_BuildCtx_AddOutFileToCtxAndCmd().


| GWB_FILE_LIST2 * GWB_BuildCtx_GetFileList | ( | const GWB_BUILD_CONTEXT * | bctx | ) |
Definition at line 90 of file buildctx.c.
| const char * GWB_BuildCtx_GetInitialSourceDir | ( | const GWB_BUILD_CONTEXT * | bctx | ) |
Definition at line 61 of file buildctx.c.
| GWB_BUILD_CONTEXT * GWB_BuildCtx_new | ( | ) |
Definition at line 30 of file buildctx.c.
References GWEN_NEW_OBJECT.
Referenced by GWB_BuildCtx_fromXml(), and GWBUILD_MakeBuildCommands().

| void GWB_BuildCtx_SetInitialSourceDir | ( | GWB_BUILD_CONTEXT * | bctx, |
| const char * | s | ||
| ) |
Definition at line 68 of file buildctx.c.
References NULL.
Referenced by GWB_BuildCtx_fromXml(), and GWBUILD_MakeBuildCommands().
