Skip to content

Commit a98b6e9

Browse files
authored
Merge pull request #73731 from nkcsgexi/project-name-6
[6.0] FrontendOpts: teach the compiler to accept project name via an argument
2 parents 5c01e7f + e622266 commit a98b6e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/swift/Option/Options.td

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,11 @@ def module_name : Separate<["-"], "module-name">,
541541
Flags<[FrontendOption, ModuleInterfaceOption, SwiftAPIExtractOption,
542542
SwiftSymbolGraphExtractOption]>,
543543
HelpText<"Name of the module to build">;
544+
def project_name : Separate<["-"], "project-name">,
545+
Flags<[FrontendOption, ModuleInterfaceOptionIgnorable, SwiftAPIExtractOption,
546+
SwiftSymbolGraphExtractOption]>,
547+
HelpText<"Name of the project this module to build belongs to">;
548+
544549
def module_name_EQ : Joined<["-"], "module-name=">, Flags<[FrontendOption]>,
545550
Alias<module_name>;
546551

0 commit comments

Comments
 (0)