diff options
author | Brad King <brad.king@kitware.com> | 2018-09-25 23:25:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-11 18:19:39 (GMT) |
commit | 410a3e4b22c72794d4f96e41c1d37d84d6e7e54d (patch) | |
tree | dd7c623d4326a2d7f641fc9748045090679a2a0e /bootstrap | |
parent | 81bea69bd1d52977c3782d26560f34563394f487 (diff) | |
download | CMake-410a3e4b22c72794d4f96e41c1d37d84d6e7e54d.zip CMake-410a3e4b22c72794d4f96e41c1d37d84d6e7e54d.tar.gz CMake-410a3e4b22c72794d4f96e41c1d37d84d6e7e54d.tar.bz2 |
Add support for using C++17 string_view or a fallback
Define a `cm::string_view` type implemented via C++17 `std::string_view`
when available. Provide a fallback implementation for C++11 and C++14
compilers.
The fallback implementation was written by reading documentation of the
standard spec. We have no dedicated tests for it, but it will be
covered by tests of its clients later.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -430,6 +430,7 @@ CMAKE_CXX_SOURCES="\ cmake \ cmakemain \ cmcmd \ + cm_string_view \ " if ${cmake_system_mingw}; then |