Skip to content
Commit 27eba8a0 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

cmake: add function to parse the mimetypes from plugins metadata

cmake >= 3.19 is able to parse JSON files. We can use this feature to
simplify the handling of mimetypes in the different plugins.

This commit introduces a cmake function that parses the MimeTypes field
from the JSON metadata file of a plugin into a cmake list of strings.

We need cmake >= 3.19 for the JSON parsing capability.
parent 6c779940
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