-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvkit_config.py
executable file
·22 lines (19 loc) · 1.03 KB
/
vkit_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Imported by vkit configuration files to set compile options.
"""
import var_type
# How to compile and run with VCS
VLOG = {
# Name (default, possible types) Help
'OPTIONS' : ["", (str,), "Build options for both VCS and VLOGAN"],
'VCS_OPTIONS' : ["", (str,), "Build options for VCS only"],
'VLOGAN_OPTIONS' : ["", (str,), "Build options for VLOGAN only"],
'TAB_FILES' : [[], (list,), "PLI files that should also be added to the build command-line (-P <name>)"],
'SO_FILES' : [[], (list,), "Shared Objects that will be added to the build command-line (-LDFLAGS '<all>')"],
'ARC_LIBS' : [[], (list,), ".a/.o archive libraries that will be added to the build command-line"],
'DEFINES' : [[], (list,), "All +defines as needed"],
'IGNORE_WARNINGS': [[], (list,), "Warnings that should be ignored by VCS during vlog."],
}
class Vlog(var_type.VarType):
def __init__(self):
super(Vlog, self).__init__(VLOG, 'VLOG')