llvm-for-llvmta/utils/gn/secondary/llvm/tools/llvm-rc/BUILD.gn

23 lines
434 B
Plaintext

import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Opts") {
visibility = [ ":llvm-rc" ]
args = [ "-gen-opt-parser-defs" ]
}
executable("llvm-rc") {
deps = [
":Opts",
"//llvm/lib/Option",
"//llvm/lib/Support",
]
sources = [
"ResourceFileWriter.cpp",
"ResourceScriptCppFilter.cpp",
"ResourceScriptParser.cpp",
"ResourceScriptStmt.cpp",
"ResourceScriptToken.cpp",
"llvm-rc.cpp",
]
}