Add an option to disable the dependency solver and to use the complete file set

parent bdd55365
......@@ -179,7 +179,13 @@ def _get_parser():
'--submodule',
action='store_true',
dest="submodule",
help="enable automatic Git submodule scanning",)
help="enable automatic Git submodule scanning")
parser.add_argument(
'-a',
'--all',
action='store_true',
dest="all_files",
help="use all the listed files, do not solve the fileset")
parser.add_argument(
"--log",
dest="log",
......
......@@ -148,6 +148,8 @@ class Action(list):
def solve_file_set(self):
"""Build file set with only those files required by the top entity"""
if self.options.all_files:
return
if not self._deps_solved:
dep_solver.solve(self.parseable_fileset,
self.tool.get_standard_libs())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment