Russ Cox would like Alan Donovan to review this change.
CMakeLists: updates for clang-cl, skipping benchmarks, and C++17
1. Test MSVC instead of CMAKE_CXX_COMPILER_ID MATCHES "MSVC"
When using the 'clang-cl' simulation of MSVC's 'cl' compiler,
we want to execute these adjustments, and MSVC will be true,
but CMAKE_CXX_COMPILER_ID MATCHES "MSVC" will not.
Thanks to Alexander Neumann for flagging and for the explanation.
Fixes #532.
2. Separate out building tests from building benchmarks, because
they have different dependencies, and some people might want to
build tests and skip the benchmarks.
3. Update to C++17 and factor that out to make future updates easier.
We require C++17 now per
https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | 
| Code-Review | +2 | 
The change looks plausible enough, but I don't really know anything about this file or CMake, so my approval is largely based on your reputation.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | 
CMakeLists: updates for clang-cl, skipping benchmarks, and C++17
1. Test MSVC instead of CMAKE_CXX_COMPILER_ID MATCHES "MSVC"
When using the 'clang-cl' simulation of MSVC's 'cl' compiler,
we want to execute these adjustments, and MSVC will be true,
but CMAKE_CXX_COMPILER_ID MATCHES "MSVC" will not.
Thanks to Alexander Neumann for flagging and for the explanation.
Fixes #532.
2. Separate out building tests from building benchmarks, because
they have different dependencies, and some people might want to
build tests and skip the benchmarks.
3. Update to C++17 and factor that out to make future updates easier.
We require C++17 now per
https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | 
The change looks plausible enough, but I don't really know anything about this file or CMake, so my approval is largely based on your reputation.
Plausible and tested is all I'm going for - I know little more than you do.
And I did test it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |