Integrate libiomp CMake into LLVM CMake build system.
authorAndrey Churbanov <Andrey.Churbanov@intel.com>
Tue, 5 May 2015 20:02:52 +0000 (20:02 +0000)
committerAndrey Churbanov <Andrey.Churbanov@intel.com>
Tue, 5 May 2015 20:02:52 +0000 (20:02 +0000)
commit648467ed05ae10d339272c574235df43654b71d7
treee4c8a4f82ef0e282de6fe076b9569ec70dec33c0
parent22f6189fb01a60d2d11d92a0755ab9c17134ce45
Integrate libiomp CMake into LLVM CMake build system.

This patch integrates the libiomp CMake build system into the LLVM CMake build
system so that users can checkout libiomp into the projects directory of llvm
and build llvm,clang, and libiomp all together.  These changes specifically
introduce a new install target which will put libraries and headers into the
correct locations when either a standalone build or part of llvm.
The copy_recipe() method has been removed in favor of the POST_BUILD method
to move headers into the exports subdirectory.  And lastly, the MicroTests.cmake
file was refactored which led to simpler target dependencies and a new target,
make libiomp-micro-tests, which performs the 5 small tests (test-relo,
test-touch, etc.) when called.

llvm-svn: 236534
openmp/CMakeLists.txt [new file with mode: 0644]
openmp/runtime/CMakeLists.txt
openmp/runtime/cmake/CommonFlags.cmake
openmp/runtime/cmake/Definitions.cmake
openmp/runtime/cmake/HelperFunctions.cmake
openmp/runtime/cmake/MicroTests.cmake