Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94541

Conan: leaf module recipes should check against changed module features

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System
    • Technical Risk:
      Normal
    • Story Points:
      3

      Description

      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:

      1. calculate a checksum from configure.cmake
      2. embed the checksum in the recipe
      3. when "conan export" is being run compare the hard coded checksum against the current configure.cmake
      4. if the checksums differ raise an error

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            iknd Iikka Eklund
            Reporter:
            iknd Iikka Eklund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes