forked from OSchip/llvm-project
[llvm-rc] Support joined or separate spelling for /fo flag
CMake invokes rc using the joined spelling which appears to be supported by Microsoft's rc implementation, so we should support it as well. Differential Revision: https://reviews.llvm.org/D54191 llvm-svn: 346470
This commit is contained in:
parent
397765bc51
commit
e2f6896eef
|
@ -0,0 +1,4 @@
|
|||
; RUN: llvm-rc /dry-run /FO %t %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
|
||||
; RUN: llvm-rc /dry-run /FO%t %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
|
||||
|
||||
; FO-NOT: Exactly one input file should be provided.
|
|
@ -4,7 +4,7 @@ include "llvm/Option/OptParser.td"
|
|||
// These options seem to be important for the tool
|
||||
// and should be implemented.
|
||||
|
||||
def FILEOUT : Separate<[ "/", "-" ], "FO">,
|
||||
def FILEOUT : JoinedOrSeparate<[ "/", "-" ], "FO">,
|
||||
HelpText<"Change the output file location.">;
|
||||
|
||||
def DEFINE : Separate<[ "/", "-" ], "D">,
|
||||
|
|
Loading…
Reference in New Issue