Generate targets for each lit suite.
authorChris Bieneman <beanz@apple.com>
Wed, 18 Mar 2015 21:19:06 +0000 (21:19 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 18 Mar 2015 21:19:06 +0000 (21:19 +0000)
commit3bf045a9c685a0b0fa295bc15509516ba03f2bb0
treef929eb07c3a202f0a94b71fc9e8b7def03d878e2
parent3932b367d7b0da7947dbc7bbf7a1c387d0dee0ee
Generate targets for each lit suite.

Summary:
This change makes CMake scan for lit suites and generate a target for each lit test suite. The targets follow the format check-<project>-<suite path>.

For example:
check-llvm-unit - Runs the LLVM unit tests
check-llvm-codegen-arm - Runs the ARM codeine tests

Note: These targets are not generated during multi-configuration generators (i.e. Xcode and Visual Studio) because target clutter impacts UI usability.

Reviewers: chandlerc

Subscribers: aemerson, llvm-commits

Differential Revision: http://reviews.llvm.org/D8380

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232671 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/AddLLVM.cmake