tan  0.0.1
tanlang::TanCompilation Struct Reference

Compilation configuration. More...

#include <tan.h>

Collaboration diagram for tanlang::TanCompilation:

Public Attributes

TanCompileType type = OBJ
 
TanOptLevel opt_level = O0
 Type of compilation,. More...
 
unsigned verbose = 0
 Optimization level,. More...
 
str out_file = "a.out"
 Verbose level, 0 non-verbose, 1 print LLVM IR, 2, print LLVM IR and abstract syntax tree. More...
 
vector< str > link_files {}
 Output filename, invalid if TanCompilation::type is set to OBJ. More...
 
vector< str > lib_dirs {}
 Files to link against. More...
 
vector< str > import_dirs {}
 Library search paths. More...
 

Detailed Description

Compilation configuration.

Definition at line 42 of file tan.h.

Member Data Documentation

◆ import_dirs

vector<str> tanlang::TanCompilation::import_dirs {}

Library search paths.

Definition at line 49 of file tan.h.

◆ lib_dirs

vector<str> tanlang::TanCompilation::lib_dirs {}

Files to link against.

Definition at line 48 of file tan.h.

◆ link_files

vector<str> tanlang::TanCompilation::link_files {}

Output filename, invalid if TanCompilation::type is set to OBJ.

Definition at line 47 of file tan.h.

◆ opt_level

TanOptLevel tanlang::TanCompilation::opt_level = O0

Type of compilation,.

See also
TanCompileType

Definition at line 44 of file tan.h.

◆ out_file

str tanlang::TanCompilation::out_file = "a.out"

Verbose level, 0 non-verbose, 1 print LLVM IR, 2, print LLVM IR and abstract syntax tree.

Definition at line 46 of file tan.h.

◆ verbose

unsigned tanlang::TanCompilation::verbose = 0

Optimization level,.

See also
TanOptLevel

Definition at line 45 of file tan.h.


The documentation for this struct was generated from the following file: