Help: Add cmake-workflow-option role

This commit is contained in:
Tyler Yankee
2026-04-01 13:55:01 -04:00
parent 5e76987626
commit 8476469b72

View File

@@ -729,11 +729,12 @@ class CMakeDomain(Domain):
'preset': CMakeXRefRole(lowercase=True, warn_dangling=True),
# Roles for program-specific command-line options without the program
# name (which add the name to form the ref).
'cmake-option': CMakeOptionXRefRole('cmake'),
'cmake-build-option': CMakeOptionXRefRole('cmake--build'),
'cmake-install-option': CMakeOptionXRefRole('cmake--install'),
'cpack-option': CMakeOptionXRefRole('cpack'),
'ctest-option': CMakeOptionXRefRole('ctest'),
'cmake-option': CMakeOptionXRefRole('cmake'),
'cmake-build-option': CMakeOptionXRefRole('cmake--build'),
'cmake-install-option': CMakeOptionXRefRole('cmake--install'),
'cmake-workflow-option': CMakeOptionXRefRole('cmake--workflow'),
'cpack-option': CMakeOptionXRefRole('cpack'),
'ctest-option': CMakeOptionXRefRole('ctest'),
}
initial_data = {
'objects': {}, # fullname -> ObjectEntry