Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38227

Allow letting CMake choose the generator

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently a generator has to be set. Clearing the field will reset it to a default (‘Unix Makefiles’).

      CMake doesn’t require a generator to be specified. Without it it will simply choose one of the generators available (so it will be different on different platforms).

      I suggest allowing to leave the generator field empty, and that this will result in no -G option being passed to cmake. This will allow multi-slave builds to work across different platforms. (Something I am currently trying to set up, but which fails since there’s no generator I could choose that would work on all the targeted platforms.)

      (I’d be willing to implement this and send a pull request.)

        Attachments

          Activity

          biffen Theo Willows created issue -
          15knots Martin Weber made changes -
          Field Original Value New Value
          Assignee Martin Weber [ 15knots ]
          15knots Martin Weber made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          15knots Martin Weber made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]

            People

            Assignee:
            15knots Martin Weber
            Reporter:
            biffen Theo Willows
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: