Skip to content

[pull] master from sailfishos-mirror:master#142

Merged
pull[bot] merged 12 commits intosysfce2:masterfrom
sailfishos-mirror:master
Mar 11, 2023
Merged

[pull] master from sailfishos-mirror:master#142
pull[bot] merged 12 commits intosysfce2:masterfrom
sailfishos-mirror:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 11, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

mwoehlke-kitware and others added 12 commits March 8, 2023 13:19
Rewrite how we record objects in our Sphinx extensions to more closely
conform to how other domains do likewise, and to store more information
than was previously being stored.

This is a first step toward being able to record and reference
signatures.
The `FindCUDA` module has been deprecated since CMake 3.10.
Add a policy to pretend it doesn't exist in order to encourage
projects to port away from it.
Add signatures to the collection of observed objects (which can be
referenced elsewhere). Don't automatically strip parameters from a
:command: reference, as these may now link signatures. (Do, however,
munge them into 'text <ref>' form if they aren't already, as not doing
so adds an extra '()' for some reason.) Correspondingly, change xref
resolution to try to match 'command' when a ref like 'command(args)' is
not matched, so that existing links to commands that have not been
converted to use the new signature directive don't immediately break.
These extensions are used by convention for C++ module interface units
with Clang.

For now, do not add any tests using these extensions.
Very few compilers recognize them as C++ sources.
Tests can be added later as part of C++ modules support.
This improves readability and avoids unintended conversions.
The `signature` directive added by commit 74e3c1d (Utilities/Sphinx:
Add a directive to document command signatures, 2023-02-24) will be
commonly used with the form:

    .. signature::
       some_command(SOME_SIGNATURE)

      Docs for this signature.

Drop the assumption that all CMake domain directives are immediately
followed by their argument on the same line.
2c146a7 FindCUDA: Add policy to remove this module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8306
45d1925 Treat '.ccm', '.cxxm', and '.c++m' files as C++ sources
8c96d14 Tests/RunCMake: Match 'Tried extensions' output more robustly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8308
8c52458 cmRST: Fix cmake domain directives with newline before argument
d4b21bc cmRST: Fix typo in comment
6a84717 cmRST: Convert enum types to enum class

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8310
cc21d0e Utilities/Sphinx: Make signatures linkable
37e015d Utilities/Sphinx: Refactor Sphinx reference recording

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8305
@pull pull bot added the ⤵️ pull label Mar 11, 2023
@pull pull bot merged commit 9db40be into sysfce2:master Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants