aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-12-01 01:19:34 +0000
committerJoão Valverde <j@v6e.pt>2023-12-03 23:20:39 +0000
commit60f1972fa3700d8d702e0f9b0df6ec1980d97ecb (patch)
tree8b6f75ea8d32fac94d0715b0224e4a0d9d8dd6ca /cmake/modules
parent90b16b40921b737aadf9186685d866fd80e37ee6 (diff)
plugins: Fill in short description field
Fill-in the short description field for plugins that was left as a FIXME in commit 3b59ce90c31df5d77ddd4d08ad13cb0f0e818117. We should add a similar field for extcap extensions and Lua scripts eventually.
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/UseMakePluginReg.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/modules/UseMakePluginReg.cmake b/cmake/modules/UseMakePluginReg.cmake
index 0c7198d8f4..26ac0f9809 100644
--- a/cmake/modules/UseMakePluginReg.cmake
+++ b/cmake/modules/UseMakePluginReg.cmake
@@ -1,5 +1,5 @@
#
-function(register_plugin_files _outputfile _registertype)
+function(register_plugin_files _outputfile _registertype _blurb)
file(RELATIVE_PATH output "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/${_outputfile}")
add_custom_command(
OUTPUT
@@ -8,10 +8,12 @@ function(register_plugin_files _outputfile _registertype)
${CMAKE_SOURCE_DIR}/tools/make-plugin-reg.py
${CMAKE_CURRENT_SOURCE_DIR}
${_registertype}
+ ${_blurb}
${ARGN}
COMMENT "Generating ${output}"
DEPENDS
${ARGN}
${CMAKE_SOURCE_DIR}/tools/make-plugin-reg.py
+ VERBATIM
)
endfunction()