llvm.org GIT mirror llvm / b9dd8a3
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346470 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek 1 year, 10 days ago
3 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-rc /dry-run /FO %t %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
1 ; RUN: llvm-rc /dry-run /FO%t %p/Inputs/empty.rc 2>&1 | FileCheck %s --allow-empty --check-prefix=FO
2
3 ; FO-NOT: Exactly one input file should be provided.
33 // These options seem to be important for the tool
44 // and should be implemented.
55
6 def FILEOUT : Separate<[ "/", "-" ], "FO">,
6 def FILEOUT : JoinedOrSeparate<[ "/", "-" ], "FO">,
77 HelpText<"Change the output file location.">;
88
99 def DEFINE : Separate<[ "/", "-" ], "D">,