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

Add Library functionality to CMake projects

XMLWordPrintable

      With qmake project user is able to add libraries by e.g. right clicking on the project -> "Add Library". This feature is disabled with cmake projects (greyed out in the context menu).
      User should be able to add libraries to existing cmake projects and if the project has multiple targets, make selection which target should the library be added to.
      Once the selection has been done something like this should be added / modified / appended to the CMakeList.txt:
      target_link_libraries(some_target PRIVATE some_lib)

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

            cadam Cristian Adam
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes