[cfe-dev] LibTooling CMake Error

madil90 madil90 at gmail.com
Fri Oct 19 03:52:11 PDT 2012


Hi,
   I am trying to setup LibTooling for clang. I have gone through the
procedure given at </a>
<http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html> . I can
succesfully run clang-check for any source file. I am now trying to compile
the example at  </a> <http://clang.llvm.org/docs/RAVFrontendAction.html> .
When using cmake, I get the following error:

Unknown CMake command : add_clang_executable

  When using cmake to build clang, I used -DEXPORT_CMAKE_COMPILE_COMMANDS=ON
variable as suggested. Then why isn't this command working?

Regards,
Adil



--
View this message in context: http://clang-developers.42468.n3.nabble.com/LibTooling-CMake-Error-tp4027570.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list