Each leaf module recipe needs to declare its own (optional) options that match to the configuration options.
As it is easy to forget to update these add a sanity check in the recipes.
An approach could be:
- calculate a checksum from configure.cmake
- embed the checksum in the recipe
- when "conan export" is being run compare the hard coded checksum against the current configure.cmake
- if the checksums differ raise an error