[all-commits] [llvm/llvm-project] 448b8e: Module documentation improvement: prebuilt module ...

LEE KYOUNGHEON via All-commits all-commits at lists.llvm.org
Sat Jan 20 12:06:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 448b8e6162607f42948a11dd50793517198e4445
      https://github.com/llvm/llvm-project/commit/448b8e6162607f42948a11dd50793517198e4445
  Author: LEE KYOUNGHEON <stripe2933 at gmail.com>
  Date:   2024-01-20 (Sat, 20 Jan 2024)

  Changed paths:
    M libcxx/docs/Modules.rst

  Log Message:
  -----------
  Module documentation improvement: prebuilt module location can be directly fetched via CMake variable. (#78405)

CMake officially supports binary directory variable of installed
dependency using `FetchContent`. According to the current documentation,
it fetches `std` module and use its binary directory as hardcoded
string, `${CMAKE_BINARY_DIR}/_deps/std-build`, however it can be
replaced with `${std_BINARY_DIR}`.

Reference: https://cmake.org/cmake/help/latest/module/FetchContent.html




More information about the All-commits mailing list