[cfe-dev] cmake TableGen

Ran Regev regev.ran at gmail.com
Thu May 10 01:09:09 PDT 2012

When trying to cmake TableGen, I got these error and warning:

 CMake Error at CMakeLists.txt:5 (add_tablegen):
  Unknown CMake command "add_tablegen".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

Any idea?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120510/aa98e322/attachment.html>

More information about the cfe-dev mailing list