mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add option to accept external module dependency map as input
With: `-external-dependency-module-map-file`
This commit is contained in:
@@ -905,6 +905,8 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
|
||||
for (auto A: Args.filtered(OPT_candidate_module_file)) {
|
||||
Opts.CandidateCompiledModules.push_back(resolveSearchPath(A->getValue()));
|
||||
}
|
||||
if (const Arg *A = Args.getLastArg(OPT_external_dependency_module_map))
|
||||
Opts.ExternalDependencyModuleMap = A->getValue();
|
||||
|
||||
// Opts.RuntimeIncludePath is set by calls to
|
||||
// setRuntimeIncludePath() or setMainExecutablePath().
|
||||
|
||||
Reference in New Issue
Block a user