diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-10-10 06:31:00 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-10-10 06:31:00 +0000 |
commit | ed84f4abd47efd2a3e1d810eacdc06963432f48f (patch) | |
tree | 270e4f211511b2dcfa582f8a3f9a931f0debd9ae /libcxx/benchmarks | |
parent | 9ece2f75295bbdbc31951dd46166005abdbdcff4 (diff) | |
download | bcm5719-llvm-ed84f4abd47efd2a3e1d810eacdc06963432f48f.tar.gz bcm5719-llvm-ed84f4abd47efd2a3e1d810eacdc06963432f48f.zip |
Cleanup CMake status output
llvm-svn: 283721
Diffstat (limited to 'libcxx/benchmarks')
-rw-r--r-- | libcxx/benchmarks/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/benchmarks/CMakeLists.txt b/libcxx/benchmarks/CMakeLists.txt index 673d4bbe3fd..4160157da19 100644 --- a/libcxx/benchmarks/CMakeLists.txt +++ b/libcxx/benchmarks/CMakeLists.txt @@ -120,7 +120,11 @@ endmacro() file(GLOB BENCHMARK_TESTS "*.bench.cpp") foreach(test_path ${BENCHMARK_TESTS}) get_filename_component(test_file "${test_path}" NAME) - message(STATUS "Adding Benchmark: ${test_file}") string(REPLACE ".bench.cpp" "" test_name "${test_file}") + if (NOT DEFINED ${test_name}_REPORTED) + message(STATUS "Adding Benchmark: ${test_file}") + # Only report the adding of the benchmark once. + set(${test_name}_REPORTED ON CACHE INTERNAL "") + endif() add_benchmark_test(${test_name} ${test_file}) endforeach() |