Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator cmake build single target
Qt 6.11 is out! See what's new in the release blog

Qt Creator cmake build single target

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 719 Views
  • 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.
  • maksM Offline
    maksM Offline
    maks
    wrote on last edited by maks
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved