summaryrefslogtreecommitdiff
path: root/include/clang/Driver/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Driver/CMakeLists.txt')
-rw-r--r--include/clang/Driver/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/clang/Driver/CMakeLists.txt b/include/clang/Driver/CMakeLists.txt
new file mode 100644
index 0000000000000..f720d15d8cccd
--- /dev/null
+++ b/include/clang/Driver/CMakeLists.txt
@@ -0,0 +1,11 @@
+set(LLVM_TARGET_DEFINITIONS Options.td)
+tablegen(Options.inc
+ -gen-opt-parser-defs)
+add_custom_target(ClangDriverOptions
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Options.inc)
+
+set(LLVM_TARGET_DEFINITIONS CC1Options.td)
+tablegen(CC1Options.inc
+ -gen-opt-parser-defs)
+add_custom_target(ClangCC1Options
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/CC1Options.inc)