Skip to content

Libcxx's document of C++ std library modules is outdated #80231

Closed
@a858438680

Description

@a858438680

Libcxx's document of C++ std library modules in Modules in libc++ is outdated, which is compiled from Modules.rst.

In this document, the std library modules are downloaded from build directory into project directory through FetchContent. However, this requires the downloaded library to be a CMake project, which does not hold anymore after the #76083 is merged. Now people following this document will find it confusing and frustrating.

Fortunately, the author provides another way to use the std modules in #75741 , which uses the CMake option -DLIBCXX_INSTALL_MODULES=ON to install the std.cppm and std.compat.cppm. However the author said that currently there is not build system support. But I have explored a premature way to use the installed std modules in CMake. I'd like to contribute it to the libcxx's document. But I'm not sure whether such a pull request is acceptable.

Metadata

Metadata

Assignees

Labels

documentationlibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions