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. Variables in pro file.

Variables in pro file.

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 250 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #1

    I am porting a project created using cmake files CMakeLists.txt. The existing file has a number of variables which I am trying to reproduce in the pro file:

    Are they're equivalents to CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR ?

    Also...is there a way to set the binary output folder in the pro file?

    Kind Regards,
    Sy

    KroMignonK 1 Reply Last reply
    0
    • SPlattenS SPlatten

      I am porting a project created using cmake files CMakeLists.txt. The existing file has a number of variables which I am trying to reproduce in the pro file:

      Are they're equivalents to CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR ?

      Also...is there a way to set the binary output folder in the pro file?

      KroMignonK Offline
      KroMignonK Offline
      KroMignon
      wrote on last edited by
      #2

      @SPlatten said in Variables in pro file.:

      Are they're equivalents to CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR ?

      I guess:

      • CMAKE_SOURCE_DIR ==> PWD
      • CMAKE_BINARY_DIR ==> OUT_PWD

      disclaimer I never used cmake

      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

      1 Reply Last reply
      2

      • Login

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