|
gwenhywfar 5.12.0
|
#include "gwenbuild/types/builder.h"

Go to the source code of this file.
Typedefs | |
| typedef void(* | GWB_BUILDER_ADDSOURCEFILE_FN) (GWB_BUILDER *builder, GWB_FILE *f) |
| typedef int(* | GWEN_BUILDER_ADDBUILDCMD_FN) (GWB_BUILDER *builder, GWB_BUILD_CONTEXT *bctx) |
| typedef int(* | GWEN_BUILDER_ISACCEPTABLEINPUT_FN) (GWB_BUILDER *builder, const GWB_FILE *file) |
| typedef void(* GWB_BUILDER_ADDSOURCEFILE_FN) (GWB_BUILDER *builder, GWB_FILE *f) |
Definition at line 18 of file builder_be.h.
| typedef int(* GWEN_BUILDER_ADDBUILDCMD_FN) (GWB_BUILDER *builder, GWB_BUILD_CONTEXT *bctx) |
Definition at line 17 of file builder_be.h.
| typedef int(* GWEN_BUILDER_ISACCEPTABLEINPUT_FN) (GWB_BUILDER *builder, const GWB_FILE *file) |
Definition at line 16 of file builder_be.h.
| void GWB_Builder_AddAbsFileNameToBuffer | ( | const GWB_CONTEXT * | context, |
| const GWB_FILE * | file, | ||
| GWEN_BUFFER * | argBuffer ) |
Definition at line 312 of file builder.c.
References GWB_Context_GetInitialSourceDir(), 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_DIR_SEPARATOR_S, and GWEN_Directory_GetAbsoluteFolderPath().
Referenced by _addMatchingFiles(), _readArgsInputFiles(), and _readArgsOutputFiles().


| void GWB_Builder_AddFileNamesToBuffer | ( | const GWB_CONTEXT * | context, |
| const GWB_FILE_LIST2 * | inFileList, | ||
| GWEN_BUFFER * | argBuffer ) |
Definition at line 218 of file builder.c.
References GWB_Builder_AddFileNameToBuffer(), and GWEN_Buffer_AppendString().

| void GWB_Builder_AddFileNameToBuffer | ( | const GWB_CONTEXT * | context, |
| const GWB_FILE * | file, | ||
| GWEN_BUFFER * | argBuffer ) |
Definition at line 241 of file builder.c.
References GWB_Context_GetCurrentBuildDir(), GWB_Context_GetInitialSourceDir(), 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_DIR_SEPARATOR_S, and GWEN_Path_GetPathBetween().
Referenced by _addMatchingFiles(), _readArgsInputFiles(), _readArgsOutputFiles(), and GWB_Builder_AddFileNamesToBuffer().


| void GWB_Builder_AddInputFile | ( | GWB_BUILDER * | builder, |
| GWB_FILE * | f ) |
Definition at line 107 of file builder.c.
References NULL.
Referenced by _addOneSubTargetForTarget(), and _addSourceFile().

| void GWB_Builder_AddOutputFile | ( | GWB_BUILDER * | builder, |
| GWB_FILE * | f ) |
Files like *.so and *,a should be added first, because the first entry is used when linking with sub-targets internally.
Definition at line 123 of file builder.c.
References NULL.
Referenced by _setupOutFiles().

| void GWB_Builder_AddRelativeFolderToBuffer | ( | const GWB_CONTEXT * | context, |
| const char * | folder, | ||
| int | useBuildDir, | ||
| GWEN_BUFFER * | argBuffer ) |
Definition at line 276 of file builder.c.
References DBG_ERROR, GWB_Context_GetCurrentBuildDir(), GWB_Context_GetInitialSourceDir(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_new(), GWEN_DIR_SEPARATOR_S, GWEN_Path_GetPathBetween(), and NULL.
Referenced by _addFilePathsToDb(), and _addOneSubTargetForTarget().


| GWB_BUILDER * GWB_Builder_new | ( | GWENBUILD * | gwenbuild, |
| GWB_CONTEXT * | context, | ||
| const char * | typeName ) |
Definition at line 28 of file builder.c.
References GWB_Builder_new(), GWEN_INHERIT_INIT, and GWEN_NEW_OBJECT.
Referenced by GWB_Builder_new(), and GWB_GenericBuilder_new().


| GWEN_BUILDER_ADDBUILDCMD_FN GWB_Builder_SetAddBuildCmdFn | ( | GWB_BUILDER * | builder, |
| GWEN_BUILDER_ADDBUILDCMD_FN | fn ) |
Definition at line 196 of file builder.c.
Referenced by GWB_GenericBuilder_new().

| GWB_BUILDER_ADDSOURCEFILE_FN GWB_Builder_SetAddSourceFileFn | ( | GWB_BUILDER * | builder, |
| GWB_BUILDER_ADDSOURCEFILE_FN | fn ) |
Definition at line 207 of file builder.c.
Referenced by GWB_GenericBuilder_new().

| GWEN_BUILDER_ISACCEPTABLEINPUT_FN GWB_Builder_SetIsAcceptableInputFn | ( | GWB_BUILDER * | builder, |
| GWEN_BUILDER_ISACCEPTABLEINPUT_FN | fn ) |
Definition at line 184 of file builder.c.
Referenced by GWB_GenericBuilder_new().
