summaryrefslogtreecommitdiff
path: root/gnu/llvm/tools/llvm-rc/CMakeLists.txt
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-04-06 14:26:57 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-04-06 14:26:57 +0000
commit5b0514634148624e8c36b28a654e89ce77f7cc92 (patch)
treec8c69996dfcbfd77243169cfb2652e27604a50d3 /gnu/llvm/tools/llvm-rc/CMakeLists.txt
parent2d2537b3985221b371b2a4a1471fa2e56b846bf0 (diff)
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/tools/llvm-rc/CMakeLists.txt')
-rw-r--r--gnu/llvm/tools/llvm-rc/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/llvm/tools/llvm-rc/CMakeLists.txt b/gnu/llvm/tools/llvm-rc/CMakeLists.txt
new file mode 100644
index 00000000000..e5c0eb25d7b
--- /dev/null
+++ b/gnu/llvm/tools/llvm-rc/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(LLVM_LINK_COMPONENTS
+ Option
+ Support
+ )
+
+set(LLVM_TARGET_DEFINITIONS Opts.td)
+
+tablegen(LLVM Opts.inc -gen-opt-parser-defs)
+add_public_tablegen_target(RcTableGen)
+
+add_llvm_tool(llvm-rc
+ llvm-rc.cpp
+ ResourceFileWriter.cpp
+ ResourceScriptParser.cpp
+ ResourceScriptStmt.cpp
+ ResourceScriptToken.cpp
+ )