aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cli.h
blob: 51263e2206232852ba6d0c984fa497277643e9db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef DUCC_CLI_H
#define DUCC_CLI_H

#include "common.h"
#include "std.h"

typedef struct {
    const char* input_filename;
    const char* output_filename;
    bool output_assembly;
    bool only_compile;
    bool preprocess_only;
    bool generate_deps;
    bool totally_deligate_to_gcc;
    const char* gcc_command;
    StrArray include_dirs;
} CliArgs;

CliArgs* parse_cli_args(int argc, char** argv);

#endif