Commit 2faca962 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Project plugin: add help about targets

parent 1c40a232
Pipeline #241124 passed with stage
in 19 minutes and 23 seconds
......@@ -2067,7 +2067,7 @@ Here, subfolders and filters define what’s part of the project.
You can also mix version control and files based on filters.
</para>
<para id="projects-build-support">If you want to add support for the Build plugin, you could write a
<para id="projects-build-support">If you want to add support for the building, you can write a
<filename>.kateproject</filename> like this:</para>
<screen>
......@@ -2082,11 +2082,26 @@ You can also mix version control and files based on filters.
"directory": "build",
"build": "make all",
"clean": "make clean",
"install": "make install"
"install": "make install",
"targets": [
{
"name": "all",
"build_cmd": "ninja"
},
{
"name": "kate",
"build_cmd": "ninja kate-bin"
}
]
}
}
</screen>
<para>
The targets specified above will then appear in the <link linkend="kate-application-plugin-build">Build Plugin </link> under <emphasis role="bold">
"Project Plugin Targets"</emphasis>.
</para>
<para>
In case you have a <filename>.kateproject</filename> file tracked by a control
version system, but you need to tweak the configuration for a particular
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment