From: Ted Kremenek Date: Thu, 16 Jul 2009 18:10:20 +0000 (+0000) Subject: Add 'clang-wpa' to the CMake-based build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d9ff0bcba53da358cce7170cc60e8ee3b7f6676;p=clang 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 --- 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)