aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cli.h
blob: 769132341e644607f465e788f803f7d304d5bc77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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 generate_debug_info;
    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