The scons plugin

The scons plugin is useful when building parts that use the SCons construction tool.

ⓘ This plugin is only available to core, core18, core22, and core24 based snaps. See Base snaps for details.

Scons projects use a SConstruct file to drive the build.

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:

  • scons-options (list of strings) flags to pass to the build using the scons semantics for parameters.

For examples, search GitHub for projects already using the plugin.

ⓘ This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.