From a35ca2a9ceab34209aa5a37da477cf3e233278f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20K=C3=BCnzel?= Date: Wed, 16 Feb 2022 15:53:34 +0100 Subject: [ECMQmlModule] Fix doc syntax --- modules/ECMQmlModule.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ECMQmlModule.cmake b/modules/ECMQmlModule.cmake index 0f119628..e57c7ec0 100644 --- a/modules/ECMQmlModule.cmake +++ b/modules/ECMQmlModule.cmake @@ -12,7 +12,7 @@ takes care of a number of things that often need to be repeated. It also takes care of special handling of QML modules between shared and static builds. When building a static version of a QML module, the relevant QML source files are bundled into the static library. When using a shared build, the QML plugin and -relevant QML files are copied to the target's RUNTIME_OUTPUT_DIRECTORY to make +relevant QML files are copied to the target's ``RUNTIME_OUTPUT_DIRECTORY`` to make it easier to run things directly from the build directory. Example usage: @@ -31,6 +31,7 @@ Example usage: :: + ecm_add_qml_module( URI [VERSION ] [NO_PLUGIN] [CLASSNAME ]) This will declare a new CMake target called ````. The ``URI`` @@ -56,6 +57,7 @@ You can add C++ and QML source files to the target using ``target_sources`` and Since 5.91.0 :: + ecm_add_qml_module_dependencies( DEPENDS [ ...]) Add the list of dependencies specified by the ``DEPENDS`` argument to be listed @@ -64,6 +66,7 @@ as dependencies in the generated QMLDIR file of ````. Since 5.91.0 :: + ecm_target_qml_sources( SOURCES [ ...] [VERSION ] [PATH ] [PRIVATE]) Add the list of QML files specified by the ``SOURCES`` argument as source files @@ -86,6 +89,7 @@ specified files do not exist. Since 5.91.0 :: + ecm_finalize_qml_module( DESTINATION ) Finalize the specified QML module target. This must be called after all other -- cgit v1.2.1