The cmake plugin
cmake plugin is useful for building CMake-based parts.
A cmake project will typically include a CMakeLists.txt file to drive the build, and the plugin requires that CMakeLists.txt exists within the root of the source tree.
This plugin also supports options from the make plugin.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
configflags(list of strings)
Configure flags to pass to the build using the common cmake semantics.
Last updated 18 days ago. Help improve this document in the forum.