Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to include sources from different paths

How to include sources from different paths

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.2k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mwpowellhtx
    wrote on last edited by
    #1

    Hello,

    I am working through a workspace where we've got some common concerns in a common folder in the workspace. The main Qt CMake app is in another location apart from that. The app files get sucked into the project just fine. However, how do I tell CMake to locate specific source files apart from the main project ones?

    Regards,

    Michael

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mwpowellhtx
      wrote on last edited by
      #2

      I'm reading about AUX_SOURCE_DIRECTORY, which pulls everything in the current directory into SRC_LIST. However, I want to also include a couple of very specific files apart from just those from the common location. Not all the files in the common location as file(GLOB) posts would suggest, but one or two.

      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