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

#include "common.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