mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

Some deployments may not be able to discover the metadata file reliably (e.g., custom `clang` builds on macOS while using the SDK's stdlib or distribution bugs). Allow users to force the location so that compiler-driven detection doesn't have to bend over backwards for unforeseen bugs.
8 lines
311 B
ReStructuredText
8 lines
311 B
ReStructuredText
cxxmodules-custom-import-std-metadata-file
|
|
------------------------------------------
|
|
|
|
* The ``import std`` support learned to use the
|
|
:variable:`CMAKE_CXX_STDLIB_MODULES_JSON` variable to set the path to the
|
|
metadata file for the standard library rather than using the compiler to
|
|
discover its location.
|