|
gwenhywfar 5.12.0
|
#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 void | _parseAndSetBuildMessage (GWB_BUILD_SUBCMD *buildSubCmd, GWEN_XMLNODE *xmlNode, GWEN_DB_NODE *dbForCmd) |
| static GWB_BUILD_CMD * | _parseBuildCmd (GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| 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 GWB_BUILD_SUBCMD * | _parseSubCmd (GWB_BUILD_CMD *bcmd, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode, GWEN_DB_NODE *dbForCmd) |
| static GWEN_DB_NODE * | _prepareCmdDb (GWB_BUILD_CMD *bcmd, GWB_CONTEXT *currentContext) |
| 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 421 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 _prepareCmdDb().


|
static |
Definition at line 186 of file p_buildfiles.c.
References GWB_BuildSubCmd_SetBuildMessage(), GWB_Parser_ReadXmlDataIntoBufferAndExpand(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_XMLNode_FindFirstTag(), and NULL.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 106 of file p_buildfiles.c.
References _parseBuildInputFiles(), _parseBuildOutputFiles(), DBG_INFO, GWB_BUILD_CMD_FLAGS_AUTO, GWB_BuildCmd_AddFlags(), GWB_BuildCmd_free(), GWB_BuildCmd_new(), GWB_BuildCmd_SetBuilderName(), GWB_BuildCmd_SetFolder(), GWB_Context_GetCurrentRelativeDir(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 244 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 _parseSubCmd().


|
static |
Definition at line 204 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 _parseBuildCmd().


|
static |
Definition at line 224 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 _parseBuildCmd().


|
static |
Definition at line 161 of file p_buildfiles.c.
References _parseBuildCommand(), DBG_ERROR, GWB_BUILD_CMD_FLAGS_DEL_OUTFILES, GWB_BuildCmd_AddFlags(), GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 149 of file p_buildfiles.c.
References _addFilePathsToDb(), GWB_BuildCmd_GetInFileList2(), GWB_BuildCmd_GetOutFileList2(), and GWEN_DB_Group_new().
Referenced by GWB_ParseBuildFiles().


|
static |
Definition at line 284 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 368 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 323 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 62 of file p_buildfiles.c.
References _parseAndSetBuildMessage(), _parseBuildCmd(), _parseSubCmd(), _prepareCmdDb(), DBG_INFO, GWB_BuildCmd_AddBuildCommand(), GWB_BuildCmd_free(), GWB_Context_GetCurrentTarget(), GWB_Project_AddExplicitBuild(), GWB_Target_AddExplicitBuild(), GWEN_DB_Group_free(), GWEN_ERROR_GENERIC, and NULL.
Referenced by _parseChildNodes(), and _parseChildNodes().

