|
gwenhywfar
5.10.1
|
#include "gwenbuild/parser/p_target.h"#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 int | _parseChildNodes (GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static int | _parseDefines (GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static int | _parseIncludes (GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static int | _parseLibraries (GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static int | _parseUsedTargets (GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| static GWB_TARGET * | _readTarget (GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
| int | GWB_ParseTarget (GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
|
static |
Definition at line 131 of file p_target.c.
References _parseDefines(), _parseIncludes(), _parseLibraries(), _parseUsedTargets(), DBG_DEBUG, DBG_ERROR, GWB_ParseBuildFiles(), GWB_Parser_ParseSourcesOrHeaders(), GWB_Parser_ParseSubdirs(), GWB_Parser_ParseWellKnownElements(), GWB_PARSER_SRCFILEFLAGS_ALWAYSDIST, GWB_PARSER_SRCFILEFLAGS_ISSOURCE, GWB_ParseTarget(), GWEN_LOGDOMAIN, GWEN_XMLNode_GetData(), GWEN_XMLNode_GetFirstTag(), GWEN_XMLNode_GetNextTag(), and NULL.
Referenced by GWB_ParseTarget().


|
static |
Definition at line 268 of file p_target.c.
References DBG_ERROR, DBG_INFO, GWB_Context_GetVars(), GWB_Context_SetDefine(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_ERROR_GENERIC, GWEN_XMLNode_ExpandProperties(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _parseChildNodes().


|
static |
Definition at line 225 of file p_target.c.
References DBG_ERROR, DBG_INFO, GWB_Context_AddInclude(), GWB_Context_GetCurrentTarget(), GWB_Context_GetVars(), GWB_Parser_ReadXmlDataIntoStringList(), GWEN_ERROR_INTERNAL, GWEN_StringList_FirstEntry(), GWEN_StringList_free(), GWEN_StringListEntry_Data(), GWEN_StringListEntry_Next(), GWEN_XMLNode_ExpandProperties(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by _parseChildNodes().


|
static |
Definition at line 309 of file p_target.c.
References DBG_ERROR, DBG_INFO, GWB_Context_GetCurrentTarget(), GWB_Context_GetVars(), GWB_Parser_ReadXmlDataIntoStringList(), GWB_Target_AddUsedLibraryName(), GWEN_ERROR_INTERNAL, GWEN_StringList_FirstEntry(), GWEN_StringList_free(), GWEN_StringListEntry_Data(), GWEN_StringListEntry_Next(), GWEN_XMLNode_ExpandProperties(), and NULL.
Referenced by _parseChildNodes().


|
static |
Definition at line 185 of file p_target.c.
References DBG_ERROR, DBG_INFO, GWB_Context_GetCurrentTarget(), GWB_Context_GetVars(), GWB_Parser_ReadXmlDataIntoStringList(), GWB_Target_AddUsedTargetName(), GWEN_ERROR_INTERNAL, GWEN_StringList_FirstEntry(), GWEN_StringList_free(), GWEN_StringListEntry_Data(), GWEN_StringListEntry_Next(), GWEN_XMLNode_ExpandProperties(), and NULL.
Referenced by _parseChildNodes().


|
static |
Definition at line 74 of file p_target.c.
References DBG_ERROR, GWB_Context_GetVars(), GWB_Target_free(), GWB_Target_GetName(), GWB_Target_GetSoVersionAge(), GWB_Target_GetSoVersionCurrent(), GWB_Target_GetSoVersionRevision(), GWB_Target_new(), GWB_Target_SetId(), GWB_Target_SetInstallPath(), GWB_Target_SetName(), GWB_Target_SetSoVersion(), GWB_Target_SetTargetType(), GWBUILD_TargetType_fromString(), GWBUILD_TargetType_Invalid, GWEN_DB_FLAGS_OVERWRITE_VARS, GWEN_DB_SetCharValue(), GWEN_DB_SetCharValueFromInt(), GWEN_XMLNode_GetIntProperty(), GWEN_XMLNode_GetProperty(), and NULL.
Referenced by GWB_ParseTarget().


| int GWB_ParseTarget | ( | GWB_PROJECT * | project, |
| GWB_CONTEXT * | currentContext, | ||
| GWEN_XMLNODE * | xmlNode | ||
| ) |
Definition at line 36 of file p_target.c.
References _parseChildNodes(), _readTarget(), DBG_INFO, GWB_Context_free(), GWB_Context_GetVars(), GWB_Context_SetCurrentTarget(), GWB_Parser_CopyContextForTarget(), GWB_Project_AddTarget(), GWB_Target_free(), GWB_Target_SetContext(), GWEN_ERROR_GENERIC, GWEN_XMLNode_ExpandProperties(), and NULL.
Referenced by _parseChildNodes().


1.8.14