summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/CMakeLists.txt1
-rw-r--r--tools/wpa/CMakeLists.txt19
2 files changed, 20 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index fc30fb848e..74a810ce35 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,3 +1,4 @@
add_subdirectory(clang-cc)
add_subdirectory(driver)
add_subdirectory(index-test)
+add_subdirectory(wpa)
diff --git a/tools/wpa/CMakeLists.txt b/tools/wpa/CMakeLists.txt
new file mode 100644
index 0000000000..5ba3bc8a18
--- /dev/null
+++ b/tools/wpa/CMakeLists.txt
@@ -0,0 +1,19 @@
+set(LLVM_NO_RTTI 1)
+
+set( LLVM_USED_LIBS
+ clangFrontend
+ clangAnalysis
+ clangSema
+ clangAST
+ clangLex
+ clangBasic
+ clangIndex
+ )
+
+set( LLVM_LINK_COMPONENTS
+ )
+
+add_clang_executable(clang-wpa
+ clang-wpa.cpp
+ )
+add_dependencies(clang-wpa clang-headers)