This commit is contained in:
2025-07-20 15:50:48 -04:00
parent 5ea2f16ba9
commit 41cfafbaf0
10 changed files with 221 additions and 66 deletions

View File

@@ -25,14 +25,20 @@ typedef enum {
*/
} lib_flags_t;
/* Flag option type struct */
typedef struct {
bool GNU;
bool git;
bool clang_format;
} flags_t;
/* Project configuration structure */
typedef struct {
bool git; /* Whether to initialize git repository */
bool clang_format; /* Whether to create .clang-format file */
licence_t licence; /* License type for the project */
char *project; /* Project name */
char *name; /* Author/creator name */
lib_flags_t libraries; /* Selected libraries (bit field) */
flags_t flag; /* Flags */
} format_t;
/* Default values */