[CMake] Move standalone check so we don't have to reconfigure LLDB
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 17 Jul 2019 16:47:02 +0000 (16:47 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 17 Jul 2019 16:47:02 +0000 (16:47 +0000)
commit7f24757b8eb2a3e698a55e6a32c79829c4025bde
tree3c7d9a83a5baeb491a39f2d31494623cffbb7d41
parent3b96ebeee473c263a743066861687b320de3e6d6
[CMake] Move standalone check so we don't have to reconfigure LLDB

By moving the standalone check into the main CMake file, the whole file
is ignored in a regular (non-standalone) build. This means that you can
make changes to LLDBStandalone.cmake without having to reconfigure a
build in a different directory. This matters when you share one source
repository with different build directories (e.g. release-assert, debug,
standalone).

Differential revision: https://reviews.llvm.org/D64824

llvm-svn: 366346
lldb/CMakeLists.txt
lldb/cmake/modules/LLDBStandalone.cmake