summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-08-24 22:17:06 +0000
committerChris Bieneman <beanz@apple.com>2016-08-24 22:17:06 +0000
commitf17227a1da6fca7d89fd072410784ff35154e2e5 (patch)
tree99b650c5289844513b0debaa7b018a106d3c8ed7 /libcxx/test
parentdb0fcdb03be06393dff74d89f36995f3679856b0 (diff)
downloadbcm5719-llvm-f17227a1da6fca7d89fd072410784ff35154e2e5.tar.gz
bcm5719-llvm-f17227a1da6fca7d89fd072410784ff35154e2e5.zip
[CMake] Be more consistent about naming targets and components
Summary: The point of this patch is to have a consistent convention for naming build, check and install targets so that the targets can be constructed from the project name. This change renames a bunch of CMake components and targets from libcxx to cxx. For each renamed target I've added a convenience target that matches the old target name and depends on the new target. This will preserve function of the old targets so that the change doesn't break the world. We can evaluate if it is worth removing the extra targets later. Reviewers: EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D23699 llvm-svn: 279675
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index f206e92c2cc..ed6f20d573b 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -52,11 +52,13 @@ if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
set(experimental_dep cxx_experimental)
endif()
-add_lit_testsuite(check-libcxx
+add_lit_testsuite(check-cxx
"Running libcxx tests"
${CMAKE_CURRENT_BINARY_DIR}
DEPENDS cxx ${experimental_dep})
+add_custom_target(check-libcxx DEPENDS check-cxx)
+
if (LIBCXX_GENERATE_COVERAGE)
include(CodeCoverage)
set(output_dir "${CMAKE_CURRENT_BINARY_DIR}/coverage")
OpenPOWER on IntegriCloud