on xenial help sign in
fixed inconsistent documentation.
bb1fce6Nick Dedekind
cmake/modules/Plugins.cmake+3−3
@@ -1,12 +1,12 @@
1# Creates targets for copying and installing qmlfiles and generating the qmltypes file for a plugin
1# Creates targets for copying and installing qmlfiles and generating the qmltypes file for a plugin
2#
2#
3−# add_qml_test(plugin version sub_path [TARGETS target1 [target2 ...]])
3+# export_qmlplugin(plugin version sub_path [TARGETS target1 [target2 ...]])
4#
4#
5# TARGETS additional install targets (eg the plugin shared object)
5# TARGETS additional install targets (eg the plugin shared object)
6#
6#
7# Two targets will be created:
7# Two targets will be created:
8−# - PluginName-qmlfiles - Copies the qml files (*.qml, *.js, qmldir) into the shadow build folder.
8+# - plugin-qmlfiles - Copies the qml files (*.qml, *.js, qmldir) into the shadow build folder.
9−# - PluginName-qmltypes - Generates the qmltypes file in the shadow build folder.
9+# - plugin-qmltypes - Generates the qmltypes file in the shadow build folder.
10
10
11
11
12macro(export_qmlplugin PLUGIN VERSION PLUGIN_SUBPATH)
12macro(export_qmlplugin PLUGIN VERSION PLUGIN_SUBPATH)