aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cli.h
blob: 3b1e7f53b6352fb39851bcfdc81abcd5b782821d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef DUCC_CLI_H
#define DUCC_CLI_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;
} CliArgs;

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

#endif