llvm.org GIT mirror llvm / 78367b1
[NFC] Apply another commit to comply with old CMake git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340817 91177308-0d34-0410-b5e6-96231b3b80d8 Kirill Bobyrev 11 months ago
2 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1010 * Bazel BUILD files are removed from the library
1111 * https://github.com/google/benchmark/commit/f85304e4e3a0e4e1bf15b91720df4a19e90b589f
1212 is applied on top of the v1.4.1 to silence compiler warnings
13 * https://github.com/google/benchmark/commit/505be96ab23056580a3a2315abba048f4428b04e
14 is applied to comply with the LLVM's required CMake version
1010 *.cc
1111 ${PROJECT_SOURCE_DIR}/include/benchmark/*.h
1212 ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
13 list(FILTER SOURCE_FILES EXCLUDE REGEX "benchmark_main\\.cc")
13 file(GLOB BENCHMARK_MAIN "benchmark_main.cc")
14 foreach(item ${BENCHMARK_MAIN})
15 list(REMOVE_ITEM SOURCE_FILES "${item}")
16 endforeach()
1417
1518 add_library(benchmark ${SOURCE_FILES})
1619 set_target_properties(benchmark PROPERTIES