|
gwenhywfar
5.7.2
|
#include "gwenbuild/parser/p_buildfiles.h"#include "gwenbuild/parser/parser.h"#include "gwenbuild/types/builder_be.h"#include <gwenhywfar/debug.h>#include <gwenhywfar/text.h>
Go to the source code of this file.
Functions | |
| static void | _addFilePathsToDb (GWB_CONTEXT *currentContext, const GWB_FILE_LIST2 *fileList, GWEN_DB_NODE *db, const char *varName) |
| static GWB_BUILD_SUBCMD * | _parseBuildCommand (GWB_BUILD_CMD *bcmd, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode, GWEN_DB_NODE *dbForCmd) |
| static int | _parseBuildInputFiles (GWB_BUILD_CMD *bcmd, GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static int | _parseBuildOutputFiles (GWB_BUILD_CMD *bcmd, GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static int | _readFileList (GWEN_XMLNODE *xmlNode, GWEN_DB_NODE *dbVars, const char *sCurrentRelativeDir, GWB_FILE_LIST2 *projectFileList, GWB_FILE_LIST2 *targetFileList, uint32_t flagsToAdd) |
| static int | _readFileListFromTagNode (GWEN_XMLNODE *xmlNode, const GWB_FILE_LIST2 *projectFileList, GWB_FILE_LIST2 *targetFileList) |
| static int | _readFilesFromDataNode (GWEN_XMLNODE *xmlNode, GWEN_DB_NODE *dbVars, const char *sCurrentRelativeDir, GWB_FILE_LIST2 *projectFileList, GWB_FILE_LIST2 *targetFileList, uint32_t flagsToAdd) |
| int | GWB_ParseBuildFiles (GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
|
static |
Definition at line 360 of file p_buildfiles.c.
References GWB_Builder_AddRelativeFolderToBuffer(), GWB_FILE_FLAGS_GENERATED, GWB_File_GetFlags(), GWB_File_GetFolder(), GWB_File_GetName(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_new(), GWEN_Buffer_Reset(), GWEN_DB_SetCharValue(), and GWEN_DIR_SEPARATOR_S.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 183 of file p_buildfiles.c.
References DBG_ERROR, DBG_INFO, GWB_BUILD_CMD_FLAGS_CHECK_DATES, GWB_BuildCmd_AddFlags(), GWB_BuildSubCmd_new(), GWB_BuildSubCmd_SetArguments(), GWB_BuildSubCmd_SetCommand(), GWB_Context_GetVars(), GWB_Parser_ReadXmlDataIntoBufferAndExpand(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_XMLNode_ExpandProperties(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 143 of file p_buildfiles.c.
References _readFileList(), DBG_INFO, GWB_BuildCmd_GetInFileList2(), GWB_Context_GetCurrentRelativeDir(), GWB_Context_GetVars(), GWB_Project_GetFileList(), and NULL.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 163 of file p_buildfiles.c.
References _readFileList(), DBG_INFO, GWB_BuildCmd_GetOutFileList2(), GWB_Context_GetCurrentRelativeDir(), GWB_Context_GetVars(), GWB_FILE_FLAGS_GENERATED, GWB_Project_GetFileList(), and NULL.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 223 of file p_buildfiles.c.
References _readFileListFromTagNode(), _readFilesFromDataNode(), DBG_INFO, GWEN_XMLNode_GetChild(), GWEN_XMLNode_GetType(), GWEN_XMLNode_Next(), GWEN_XMLNodeTypeData, GWEN_XMLNodeTypeTag, and NULL.
Referenced by _parseBuildInputFiles(), and _parseBuildOutputFiles().


|
static |
Definition at line 307 of file p_buildfiles.c.
References DBG_ERROR, GWB_File_GetName(), GWB_File_List2_GetAt(), GWEN_ERROR_GENERIC, GWEN_Text_ComparePattern(), GWEN_XMLNode_GetData(), GWEN_XMLNode_GetIntProperty(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _readFileList().


|
static |
Definition at line 262 of file p_buildfiles.c.
References DBG_ERROR, DBG_INFO, GWBUILD_AddFilesFromStringList(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_new(), GWEN_DB_ReplaceVars(), GWEN_ERROR_GENERIC, GWEN_StringList_free(), GWEN_StringList_fromString(), GWEN_XMLNode_GetData(), and NULL.
Referenced by _readFileList().


| int GWB_ParseBuildFiles | ( | GWB_PROJECT * | project, |
| GWB_CONTEXT * | currentContext, | ||
| GWEN_XMLNODE * | xmlNode | ||
| ) |
Definition at line 57 of file p_buildfiles.c.
References _addFilePathsToDb(), _parseBuildCommand(), _parseBuildInputFiles(), _parseBuildOutputFiles(), DBG_ERROR, DBG_INFO, GWB_BUILD_CMD_FLAGS_AUTO, GWB_BUILD_CMD_FLAGS_DEL_OUTFILES, GWB_BuildCmd_AddBuildCommand(), GWB_BuildCmd_AddFlags(), GWB_BuildCmd_free(), GWB_BuildCmd_GetInFileList2(), GWB_BuildCmd_GetOutFileList2(), GWB_BuildCmd_new(), GWB_BuildCmd_SetBuilderName(), GWB_BuildCmd_SetFolder(), GWB_BuildSubCmd_SetBuildMessage(), GWB_Context_GetCurrentRelativeDir(), GWB_Context_GetCurrentTarget(), GWB_Parser_ReadXmlDataIntoBufferAndExpand(), GWB_Project_AddExplicitBuild(), GWB_Target_AddExplicitBuild(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_DB_Group_free(), GWEN_DB_Group_new(), GWEN_ERROR_GENERIC, GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _parseChildNodes().


1.8.14