cmstd: Modernize CMake system headers

Provide a standardized way to handle the C++ "standard" headers
customized to be used with current CMake C++ standard constraints.
Offer under directory `cm` headers which can be used as direct
replacements of the standard ones.  For example:

    #include <cm/string_view>

can be used safely for CMake development in place of the `<string_view>`
standard header.

Fixes: #19491
This commit is contained in:
Marc Chevrier
2019-08-04 10:49:16 +02:00
committed by Brad King
parent 9c31d83aa2
commit c688b401d3
145 changed files with 391 additions and 273 deletions

View File

@@ -6,9 +6,10 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmFileTimeCache.h"
#include "cm_sys_stat.h"
#include "cmsys/RegularExpression.hxx"
#include "cm_sys_stat.h"
#include <string>
#include <vector>