[Bug 23889] New: Standalone build with CMake seems broken in trunk

Bug ID 23889
Summary Standalone build with CMake seems broken in trunk
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter eugene.zelenko@gmail.com
Classification Unclassified

I tried to build trunk version of LLDB (r240030) on RHEL 6, but CMake
configuration appear to be broken.

Some fixes I made to advance through CMake:

* Prefix CMakeLists.txt with cmake_minimum_required(VERSION 2.8).
* Add include(CheckCXXCompilerFlag) to LLDBConfig.cmake.
* Define LLDB_VERSION and PACKAGE_VERSION in CMake.

But more fixes of variables definitions are necessary.

By the word, LLDBStandalone.cmake contains DOS/Windows end of lines.

My CMake parameters are available in bug 23774.

labath@google.com changed bug 23889