added missing default target options
This commit is contained in:
parent
5fb10bca88
commit
68ca76cb45
|
@ -12,6 +12,11 @@ TargetConfig default_target_config() {
|
||||||
config.print_ast = false;
|
config.print_ast = false;
|
||||||
config.print_asm = false;
|
config.print_asm = false;
|
||||||
config.print_ir = false;
|
config.print_ir = false;
|
||||||
|
config.mode = Application;
|
||||||
|
config.archive_directory = "archive";
|
||||||
|
config.archive_directory = "bin";
|
||||||
|
config.optimization_level = 1;
|
||||||
|
config.root_module = NULL;
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@ typedef struct TargetConfig_t {
|
||||||
bool print_asm;
|
bool print_asm;
|
||||||
bool print_ir;
|
bool print_ir;
|
||||||
// root module file which imports all submodules
|
// root module file which imports all submodules
|
||||||
|
// if this is NULL use the first commandline argument as root module
|
||||||
char* root_module;
|
char* root_module;
|
||||||
// output directory for binaries
|
// output directory for binaries
|
||||||
char* output_directory;
|
char* output_directory;
|
||||||
|
|
Loading…
Reference in New Issue