summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-16 18:10:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-16 18:10:20 +0000
commit0d9ff0bcba53da358cce7170cc60e8ee3b7f6676 (patch)
tree9f3122f71d57427b68c8f9c6a57a2a7999431252
parent9cdd637312a5572287de0fb8637b252ee09cef10 (diff)
downloadclang-0d9ff0bcba53da358cce7170cc60e8ee3b7f6676.tar.gz
clang-0d9ff0bcba53da358cce7170cc60e8ee3b7f6676.tar.bz2
clang-0d9ff0bcba53da358cce7170cc60e8ee3b7f6676.tar.xz
Add 'clang-wpa' to the CMake-based build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76091 91177308-0d34-0410-b5e6-96231b3b80d8
-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)