|
gwenhywfar
5.10.1
|
#include "gwenbuild/types/gwenbuild.h"#include "gwenbuild/types/context.h"#include "gwenbuild/types/file.h"#include "gwenbuild/types/builder.h"#include "gwenbuild/types/target.h"#include "gwenbuild/types/option.h"#include "gwenbuild/buildctx/buildcmd.h"

Go to the source code of this file.
Macros | |
| #define | GWB_PROJECT_FLAGS_CONFIG_H 0x0002 |
| #define | GWB_PROJECT_FLAGS_SHARED 0x0001 |
Typedefs | |
| typedef struct GWB_PROJECT | GWB_PROJECT |
| #define GWB_PROJECT_FLAGS_CONFIG_H 0x0002 |
Definition at line 27 of file project.h.
Referenced by _readArgsHaveConfigH(), _writeFileFlagsToXml(), and GWB_ParseProject().
| #define GWB_PROJECT_FLAGS_SHARED 0x0001 |
Definition at line 26 of file project.h.
Referenced by _writeFileFlagsToXml(), and GWB_Project_Dump().
| typedef struct GWB_PROJECT GWB_PROJECT |
| void GWB_Project_AddBuilder | ( | GWB_PROJECT * | project, |
| GWB_BUILDER * | builder | ||
| ) |
Definition at line 284 of file project.c.
Referenced by _addSourcesOrMkBuildersAndGetTheirOutputs(), and GWBUILD_MakeBuildersForTargets().

| void GWB_Project_AddExplicitBuild | ( | GWB_PROJECT * | project, |
| GWB_BUILD_CMD * | bcmd | ||
| ) |
Definition at line 413 of file project.c.
Referenced by GWB_ParseBuildFiles().

| void GWB_Project_AddFile | ( | GWB_PROJECT * | project, |
| GWB_FILE * | file | ||
| ) |
| void GWB_Project_AddFlags | ( | GWB_PROJECT * | project, |
| uint32_t | fl | ||
| ) |
Definition at line 187 of file project.c.
Referenced by GWB_ParseProject().

| void GWB_Project_AddOption | ( | GWB_PROJECT * | project, |
| GWB_OPTION * | option | ||
| ) |
Definition at line 348 of file project.c.
Referenced by GWB_ParseOption().

| void GWB_Project_AddTarget | ( | GWB_PROJECT * | project, |
| GWB_TARGET * | target | ||
| ) |
Definition at line 241 of file project.c.
Referenced by GWB_Parser_AddTargetForSourceFile(), and GWB_ParseTarget().

| void GWB_Project_ClearDefineList | ( | GWB_PROJECT * | project | ) |
| void GWB_Project_DelFlags | ( | GWB_PROJECT * | project, |
| uint32_t | fl | ||
| ) |
| void GWB_Project_Dump | ( | const GWB_PROJECT * | project, |
| int | indent, | ||
| int | fullDump | ||
| ) |
Definition at line 538 of file project.c.
References GWB_Context_Tree2_Dump(), GWB_PROJECT_FLAGS_SHARED, GWBUILD_Debug_PrintBuilderList2(), GWBUILD_Debug_PrintFileList2(), GWBUILD_Debug_PrintIntValue(), GWBUILD_Debug_PrintKvpList(), GWBUILD_Debug_PrintOptionList(), GWBUILD_Debug_PrintTargetList2(), and GWBUILD_Debug_PrintValue().
Referenced by GWB_Setup().


| void GWB_Project_free | ( | GWB_PROJECT * | project | ) |
Definition at line 51 of file project.c.
References GWB_Context_free(), and GWEN_FREE_OBJECT.
Referenced by GWB_Parser_ReadBuildTree().


| GWB_BUILDER_LIST2* GWB_Project_GetBuilderList | ( | const GWB_PROJECT * | project | ) |
Definition at line 277 of file project.c.
Referenced by _addBuildCommandsFromBuilder().

| GWB_KEYVALUEPAIR_LIST* GWB_Project_GetDefineList | ( | const GWB_PROJECT * | project | ) |
Definition at line 291 of file project.c.
Referenced by _writeConfigH().

| GWB_BUILD_CMD_LIST* GWB_Project_GetExplicitBuildList | ( | const GWB_PROJECT * | project | ) |
Definition at line 406 of file project.c.
Referenced by _addExplicitBuildCommandsFromTargets().

| GWB_FILE* GWB_Project_GetFileByPathAndName | ( | const GWB_PROJECT * | project, |
| const char * | folder, | ||
| const char * | fname | ||
| ) |
Definition at line 212 of file project.c.
References GWB_File_List2_GetFileByPathAndName().

| GWB_FILE_LIST2* GWB_Project_GetFileList | ( | const GWB_PROJECT * | project | ) |
Definition at line 205 of file project.c.
Referenced by _parseBuildInputFiles(), _parseBuildOutputFiles(), _parseOutFile(), _parseSubdir(), _parseWriteFile(), GWB_Parser_AddTargetForSourceFile(), GWB_Parser_ParseSourcesOrHeaders(), GWB_Parser_ReadBuildTree(), GWB_Utils_WriteInstallFileList(), and GWB_Utils_WriteProjectFileList().

| uint32_t GWB_Project_GetFlags | ( | const GWB_PROJECT * | project | ) |
Definition at line 173 of file project.c.
Referenced by _readArgsHaveConfigH(), GWB_ParseProject(), and GWB_Project_toXml().

| const char* GWB_Project_GetGivenOption | ( | const GWB_PROJECT * | project, |
| const char * | name | ||
| ) |
Definition at line 399 of file project.c.
References GWB_KeyValuePair_List_GetValue().

| GWB_KEYVALUEPAIR_LIST* GWB_Project_GetGivenOptionList | ( | const GWB_PROJECT * | project | ) |
Definition at line 374 of file project.c.
Referenced by _checkAgainstGivenOption().

| GWENBUILD* GWB_Project_GetGwbuild | ( | const GWB_PROJECT * | project | ) |
Definition at line 70 of file project.c.
Referenced by _addSourcesOrMkBuildersAndGetTheirOutputs(), _genBuilderForTarget(), and _parseSubdir().

| GWB_OPTION* GWB_Project_GetOptionById | ( | const GWB_PROJECT * | project, |
| const char * | optionId | ||
| ) |
Definition at line 355 of file project.c.
References GWB_Option_GetId(), and NULL.

| GWB_OPTION_LIST* GWB_Project_GetOptionList | ( | const GWB_PROJECT * | project | ) |
| const char* GWB_Project_GetProjectName | ( | const GWB_PROJECT * | project | ) |
Definition at line 77 of file project.c.
Referenced by _addTargetForLanguage(), _writeProjectNameAndVersionToXml(), and _writeProjectVersionToContextDbVars().

| GWB_CONTEXT* GWB_Project_GetRootContext | ( | const GWB_PROJECT * | project | ) |
Definition at line 226 of file project.c.
Referenced by GWB_Setup(), GWB_Utils_WriteInstallFileList(), GWB_Utils_WriteProjectInfoToFile(), and GWBUILD_MakeBuildCommands().

| int GWB_Project_GetSoVersionAge | ( | const GWB_PROJECT * | project | ) |
Definition at line 159 of file project.c.
Referenced by _writeProjectSoVersionToContextDbVars().

| int GWB_Project_GetSoVersionCurrent | ( | const GWB_PROJECT * | project | ) |
Definition at line 152 of file project.c.
Referenced by _writeProjectSoVersionToContextDbVars().

| int GWB_Project_GetSoVersionRevision | ( | const GWB_PROJECT * | project | ) |
Definition at line 166 of file project.c.
Referenced by _writeProjectSoVersionToContextDbVars().

| GWB_TARGET* GWB_Project_GetTargetById | ( | const GWB_PROJECT * | project, |
| const char * | name | ||
| ) |
Definition at line 248 of file project.c.
References GWB_Target_GetId(), and NULL.
Referenced by _addSubTargetsForTarget().


| GWB_TARGET_LIST2* GWB_Project_GetTargetList | ( | const GWB_PROJECT * | project | ) |
Definition at line 234 of file project.c.
Referenced by _addExplicitBuildCommandsFromTargets(), _addSubTargets(), and GWBUILD_MakeBuildersForTargets().

| int GWB_Project_GetVersionBuild | ( | const GWB_PROJECT * | project | ) |
Definition at line 129 of file project.c.
Referenced by _setProjectVersionFromProjectAttributes(), _writeProjectNameAndVersionToXml(), and _writeProjectVersionToContextDbVars().

| int GWB_Project_GetVersionMajor | ( | const GWB_PROJECT * | project | ) |
Definition at line 108 of file project.c.
Referenced by _setProjectVersionFromProjectAttributes(), _writeProjectNameAndVersionToXml(), and _writeProjectVersionToContextDbVars().

| int GWB_Project_GetVersionMinor | ( | const GWB_PROJECT * | project | ) |
Definition at line 115 of file project.c.
Referenced by _setProjectVersionFromProjectAttributes(), _writeProjectNameAndVersionToXml(), and _writeProjectVersionToContextDbVars().

| int GWB_Project_GetVersionPatchlevel | ( | const GWB_PROJECT * | project | ) |
Definition at line 122 of file project.c.
Referenced by _setProjectVersionFromProjectAttributes(), _writeProjectNameAndVersionToXml(), and _writeProjectVersionToContextDbVars().

| const char* GWB_Project_GetVersionTag | ( | const GWB_PROJECT * | project | ) |
Definition at line 136 of file project.c.
Referenced by _setProjectVersionFromProjectAttributes(), _writeProjectNameAndVersionToXml(), and _writeProjectVersionToContextDbVars().

| GWB_PROJECT* GWB_Project_new | ( | GWENBUILD * | gwbuild, |
| GWB_CONTEXT * | ctx | ||
| ) |
Definition at line 30 of file project.c.
References GWEN_NEW_OBJECT.
Referenced by GWB_Parser_ReadBuildTree().

| void GWB_Project_SetDefine | ( | GWB_PROJECT * | project, |
| const char * | name, | ||
| const char * | value | ||
| ) |
Definition at line 298 of file project.c.
References GWB_KeyValuePair_List_GetFirstByKey(), GWB_KeyValuePair_new(), GWB_KeyValuePair_SetValue(), and NULL.
Referenced by _checkStringListOption(), _parseDefine(), _setDefineFunctionExists(), _setDefineHeaderExists(), and GWB_Project_SetDefineQuoted().


| void GWB_Project_SetDefineQuoted | ( | GWB_PROJECT * | project, |
| const char * | name, | ||
| const char * | value | ||
| ) |
Definition at line 316 of file project.c.
References GWB_Project_SetDefine(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), and GWEN_Buffer_new().
Referenced by _parseDefine(), _parseVersions(), and GWB_ParseProject().


| void GWB_Project_SetFlags | ( | GWB_PROJECT * | project, |
| uint32_t | fl | ||
| ) |
| void GWB_Project_SetGivenOption | ( | GWB_PROJECT * | project, |
| const char * | name, | ||
| const char * | value | ||
| ) |
Definition at line 389 of file project.c.
References GWB_KeyValuePair_new().

| void GWB_Project_SetGivenOptionList | ( | GWB_PROJECT * | project, |
| GWB_KEYVALUEPAIR_LIST * | kvpList | ||
| ) |
Definition at line 381 of file project.c.
Referenced by GWB_Parser_ReadBuildTree().

| void GWB_Project_SetProjectName | ( | GWB_PROJECT * | project, |
| const char * | s | ||
| ) |
Definition at line 84 of file project.c.
References NULL.
Referenced by GWB_ParseProject().

| void GWB_Project_SetSoVersion | ( | GWB_PROJECT * | project, |
| int | vCurrent, | ||
| int | vAge, | ||
| int | vRevision | ||
| ) |
Definition at line 143 of file project.c.
Referenced by _parseVersions().

| void GWB_Project_SetVersion | ( | GWB_PROJECT * | project, |
| int | vMajor, | ||
| int | vMinor, | ||
| int | vPatchlevel, | ||
| int | vBuild, | ||
| const char * | vTag | ||
| ) |
Definition at line 96 of file project.c.
References NULL.
Referenced by _setProjectVersionFromProjectAttributes(), and _setProjectVersionFromString().

| void GWB_Project_toXml | ( | const GWB_PROJECT * | project, |
| GWEN_XMLNODE * | xmlNode | ||
| ) |
Definition at line 420 of file project.c.
References _writeFileFlagsToXml(), GWB_BuildCmd_List_WriteXml(), GWB_File_List2_WriteXml(), GWB_KeyValuePair_List_WriteXml(), GWB_Project_GetFlags(), GWEN_XMLNode_AddChild(), GWEN_XMLNode_new(), GWEN_XMLNode_SetCharValue(), GWEN_XMLNode_SetIntValue(), and GWEN_XMLNodeTypeTag.
Referenced by GWB_Utils_WriteProjectToFile().


1.8.14