Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77376 CMake Port: Upstream CMake issues
  3. QTBUG-77380

Add a CMake command line argument that would allow building multiple configs in one go

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Build System

      Description

      The CMake command line allows invoking the underlying generator tool via

      cmake --build .  # calls make / jom / ninja
      

      You can also specify which Configuration to build for if it's supported by the generator (like MSBuild or Xcode).

      cmake --build . --config Release
      cmake --build . --config Debug
      

      It would be useful if CMake allowed a way to build multiple or all configurations in one single command invocation, something similar to:

      cmake --build . --config Release --config Debug
      

      or

      cmake --build .  --config all
      

        Attachments

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

          Activity

            People

            • Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              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