aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cli.h
blob: f4a610abfc3aade3e1211edcd8b3e4e8e02f2ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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_system_deps;
    bool generate_user_deps;
    bool totally_deligate_to_gcc;
    bool wasm;
    const char* gcc_command;
    StrArray include_dirs;
    StrArray defines;
} CliArgs;

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

#endif