Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31252

add_library and target_sources intermixed when adding classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 15.0.0
    • None

    Description

      Adding a class using the wizard uses the opposite to the existing options to modify CMakeLists.txt: when project sources are listed in add_library(), QtC creates a call to target_sources(), but when there is a call to add_library() without sources, and a call to target_sources() below in the file, QtC inserts new source into the add_library() parameters.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            eugeneshalygin Eugene Shalygin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes