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

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

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      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:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes