[CMake] Disallow direct configuration
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Wed, 29 Nov 2017 19:31:43 +0000 (19:31 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Wed, 29 Nov 2017 19:31:43 +0000 (19:31 +0000)
commit3e921d3c52542b3284c4bd0ef29a70511d38c79c
tree3412f2c49c232d23762474e53ea86e92affd64a7
parent85082013e69a22e40f3aa08417f2934974025eab
[CMake] Disallow direct configuration

As a first step, this allows us to generalize the detection of
standalone builds and make it fully compatible when building in
llvm/runtimes/ which automatically sets OPENMP_STANDLONE_BUILD.

Differential Revision: https://reviews.llvm.org/D40080

llvm-svn: 319341
openmp/CMakeLists.txt
openmp/libomptarget/Build_With_CMake.txt
openmp/libomptarget/CMakeLists.txt
openmp/libomptarget/test/CMakeLists.txt
openmp/runtime/Build_With_CMake.txt
openmp/runtime/CMakeLists.txt
openmp/runtime/src/CMakeLists.txt
openmp/runtime/test/CMakeLists.txt
openmp/www/README.txt
openmp/www/index.html