Qt Creator cmake build single target



  • I use Ubuntu 14.04 64-bit, Qt Creator 4.0 amd cmake 3.2 .

    I added multiple projects to the root cmake file with help of "add_subdirectory()".
    Then in Qt Creator I opened the root cmake file.

    After that I was able to choose which project to run in the select a kit for running (3) or debugging (4) application pane (check the link).

    Every time I build a target Qt Creator build all projects are added to the root cmake.

    How to choose to build a single target (not the whole solution)?

    Thanks in advance!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.