Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qt Creator cmake build single target

    Installation and Deployment
    1
    1
    552
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • maks
      maks last edited by maks

      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!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post