mirror of
https://gitee.com/openharmony/third_party_benchmark
synced 2024-11-30 11:00:29 +00:00
01c0ab7cbb
Fixes #974. The `cxx_feature_check` now has an additional optional argument which can be used to supply extra cmake flags to pass to the `try_compile` command. The `CMAKE_CXX_STANDARD=14` flag was determined to be the minimum flag necessary to correctly compile and run the regex feature checks when compiling with Clang under Windows (n.b. this does *not* refer to clang-cl, the frontend to the MSVC compiler). The additional flag is not enabled for any other compiler/platform tuple. |
||
---|---|---|
.. | ||
Modules | ||
AddCXXCompilerFlag.cmake | ||
benchmark.pc.in | ||
Config.cmake.in | ||
CXXFeatureCheck.cmake | ||
GetGitVersion.cmake | ||
gnu_posix_regex.cpp | ||
GoogleTest.cmake | ||
GoogleTest.cmake.in | ||
llvm-toolchain.cmake | ||
posix_regex.cpp | ||
split_list.cmake | ||
std_regex.cpp | ||
steady_clock.cpp | ||
thread_safety_attributes.cpp |