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

Support per-directory building of ExternalProject examples

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7
    • Build System: CMake
    • None

    Description

      When using non-ExternalProject examples, a developer can build a subset of examples based on their directory location, using ninja as follows:

      ninja examples/all 
      ninja examples/widgets/all
      ninja examples/widgets/draganddrop/all
      

      When using EP examples, ninja examples/all works, but ninja examples/widgets/all doesn't.

      We should check if it's possible to create custom targets to mimic the same behavior with EP examples.

      Originally filed as a comment here
      https://bugreports.qt.io/browse/QTBUG-90820?focusedId=725092&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-725092

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes