mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
f3fcbe4a9d
This allows to process HTML resources defined in .rc scripts and output them to resulting .res files. Additionally, some infrastructure allowing to output these files is created. This is the first resource type we can operate on. Thanks to Nico Weber for his original work in this area. Differential Revision: reviews.llvm.org/D37283 llvm-svn: 314538
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
; RUN: llvm-rc /h > %t1
|
|
; RUN: llvm-rc '/?' > %t2
|
|
; RUN: diff %t1 %t2
|
|
; RUN: FileCheck -input-file=%t1 %s
|
|
|
|
; CHECK: OVERVIEW: Resource Converter
|
|
; CHECK-DAG: USAGE: rc [options] <inputs>
|
|
; CHECK-DAG: OPTIONS:
|
|
; CHECK-NEXT: /? Display this help and exit.
|
|
; CHECK-NEXT: /dry-run Don't compile the input; only try to parse it.
|
|
; CHECK-NEXT: /D <value> Define a symbol for the C preprocessor.
|
|
; CHECK-NEXT: /FO <value> Change the output file location.
|
|
; CHECK-NEXT: /H Display this help and exit.
|
|
; CHECK-NEXT: /I <value> Add an include path.
|
|
; CHECK-NEXT: /LN <value> Set the default language name.
|
|
; CHECK-NEXT: /L <value> Set the default language identifier.
|
|
; CHECK-NEXT: /N Null-terminate all strings in the string table.
|
|
; CHECK-NEXT: /U <value> Undefine a symbol for the C preprocessor.
|
|
; CHECK-NEXT: /V Be verbose.
|
|
; CHECK-NEXT: /X Ignore 'include' variable.
|
|
; CHECK-NEXT: /Y Suppress warnings on duplicate resource IDs.
|