aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cas/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-cas/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-cas/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cas/CMakeLists.txt b/llvm/tools/llvm-cas/CMakeLists.txt
new file mode 100644
index 0000000..e9d40cb
--- /dev/null
+++ b/llvm/tools/llvm-cas/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(LLVM_TARGET_DEFINITIONS Options.td)
+tablegen(LLVM Options.inc -gen-opt-parser-defs)
+add_public_tablegen_target(LLVMCASToolTableGen)
+
+set(LLVM_LINK_COMPONENTS
+ Support
+ CAS
+ Option
+ )
+
+add_llvm_tool(llvm-cas
+ llvm-cas.cpp
+
+ DEPENDS
+ ${tablegen_deps}
+ LLVMCASToolTableGen
+ )