mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Help/dev/experimental: Link to published P1689R4
This commit is contained in:
@@ -39,13 +39,7 @@ to the file specified by the ``<DEP_FILE>`` placeholder, and write module
|
|||||||
dependencies to the file specified by the ``<DYNDEP_FILE>`` placeholder.
|
dependencies to the file specified by the ``<DYNDEP_FILE>`` placeholder.
|
||||||
|
|
||||||
The module dependencies should be written in the format described
|
The module dependencies should be written in the format described
|
||||||
by the `P1689r3`_ paper, with the following updates:
|
by the `P1689r4`_ paper.
|
||||||
|
|
||||||
* Omit the ``outputs``, ``inputs``, and ``depends`` fields from
|
|
||||||
each entry in the ``rules`` array. They are unused.
|
|
||||||
* Flatten ``future-compile`` members directly into each rule.
|
|
||||||
* Factor a ``primary-output`` field out of the now-flattened ``outputs``.
|
|
||||||
* The ``work-directory`` field is optional.
|
|
||||||
|
|
||||||
Compiler writers may try out their scanning functionality using
|
Compiler writers may try out their scanning functionality using
|
||||||
the `cxx-modules-sandbox`_ test project, modified to set variables
|
the `cxx-modules-sandbox`_ test project, modified to set variables
|
||||||
@@ -72,5 +66,5 @@ the GCC documentation, but the relevant section for the purposes of CMake is:
|
|||||||
-- GCC module mapper documentation
|
-- GCC module mapper documentation
|
||||||
|
|
||||||
.. _`D1483r1`: https://mathstuf.fedorapeople.org/fortran-modules/fortran-modules.html
|
.. _`D1483r1`: https://mathstuf.fedorapeople.org/fortran-modules/fortran-modules.html
|
||||||
.. _`P1689r3`: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1689r3.html
|
.. _`P1689r4`: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1689r4.html
|
||||||
.. _`cxx-modules-sandbox`: https://github.com/mathstuf/cxx-modules-sandbox
|
.. _`cxx-modules-sandbox`: https://github.com/mathstuf/cxx-modules-sandbox
|
||||||
|
|||||||
Reference in New Issue
Block a user