]> granicus.if.org Git - clang/commitdiff
Hide clang-wpa executable behind a CMake variable so it won't be built by default
authorDouglas Gregor <dgregor@apple.com>
Fri, 25 Sep 2009 05:41:21 +0000 (05:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 25 Sep 2009 05:41:21 +0000 (05:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82751 91177308-0d34-0410-b5e6-96231b3b80d8

tools/CMakeLists.txt

index 74a810ce350823bf3969e4bf7628fa7a256657fa..91039e05df58762bc96a0d163d1a6fe31e9478a4 100644 (file)
@@ -1,4 +1,7 @@
 add_subdirectory(clang-cc)
 add_subdirectory(driver)
 add_subdirectory(index-test)
-add_subdirectory(wpa)
+option(CLANG_BUILD_EXPERIMENTAL "Build experimenal Clang tools" OFF)
+if (CLANG_BUILD_EXPERIMENTAL)
+  add_subdirectory(wpa)
+endif ()